Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: give me the hat and books YOU: you can have the books but, i need the hat and the balls THEM: i need hat at least, or no deals YOU: if you take the hat i need everything else THEM: deal.

Answer: Yes

Question: THEM: i would like the ball and hat YOU: i can't give up the ball and the hat. how about i get the ball and 2 books. THEM: do you need the books? YOU: not if i can have the ball and the hat. THEM: i dont want them at all YOU: well i can't just take the books. THEM: ill take 1 book 1 ball YOU: okay that will have to work.

Answer: Yes

Question: THEM: i can give you either the books or the balls YOU: i would like the books and one hat or both balls THEM: i can give you everything if you give me two hats YOU: deal.

Answer:
Yes