Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

Input: Consider Input: THEM: hello, may i have the hat and the balls? you can have 4 books.  YOU: you can have the hat but, i would need the rest  THEM: i will need at least the 2 balls. would you like the hat and 4 books?  YOU: i need the balls as well. can we split them /  THEM: okay, can i have 1 ball and the hat then? you can have 1 ball and the books  YOU: deal. thank you.

Output: Yes


Input: Consider Input: THEM: i would like the book and all the hats.  YOU: deal  THEM: that works for you?

Output: Yes


Input: Consider Input: THEM: i would like all the balls and 2 other items of your choosing.  YOU: no, i need at least 2 balls  THEM: if i give you 2 balls, i would need everything else.  YOU: how about i get 2 balls and 1 hat?  THEM: sorry, that doesn't leave me with much.  YOU: well let me have the 3 balls and you take the rest, that way i get 3 items and you get 4  THEM: can't do that. my 4 items have lower value than the balls.  YOU: again, i get 2 balls and 1 hat and then i have 3 items and you have 4  THEM: sorry, that's not going to work either. i think we can't work out a deal here.  YOU: that would be a 50 / 50 split  THEM: you're not taking into account values of the items  YOU: the balls are worth two and all else is 1  THEM: the values are different for the both of us. no deal then?  YOU: we have to agree on something  THEM: no we don't. there is a button underneath that says "no deal was agreed". i don't agree with any of your offers. so we don't have an agreement here.


Output: No


