Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i take the balls and you can have the rest. YOU: i need 2 balls and a book or a hat THEM: how about 1 ball, a book, and a hat? YOU: ok.

Answer: Yes

Question: THEM: you take the books and i get the hat and ball YOU: i can not make that deal. i need the ball and two books THEM: i can't make a deal without the ball YOU: i can not either. no deal. i'm sorry. THEM: no deal then YOU: no deal. THEM: no deal YOU: no deal. THEM: no deal YOU: no deal.

Answer: No

Question: THEM: hi, i would like the hats and ball and you can have the book YOU: i need three items to make this work. THEM: ok, how about the book and 2 hats? YOU: deal.

Answer:
Yes