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

Input: Consider Input: THEM: i need the ball and three books YOU: if you take the ball. i need the hats and at least 2 books THEM: i can do that, you get hats and 2 books, i get ball and 2 books YOU: deal.

Output: Yes

Input: Consider Input: THEM: i could really do with like, three balls and two of those hats. YOU: i will need the book and at least one or two other objects. THEM: ok, i'll take the book. you can have everything else. YOU: i liked your initial offer better. how about i get the book and either one hat or one ball? THEM: you can take the book, but i really can't afford to let you walk with anything else. YOU: ok, i agree, i will take only the book. THEM: deal.

Output: Yes

Input: Consider Input: THEM: you can have all the basketballs if i can have the rest. YOU: balls aint worth but a pence to me going to need more than that THEM: okay, how about you get all the basketballs and a book, if i get the hat and the other book? YOU: i can live with that.
Output: Yes