Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i'd like a ball and 2 books and you can have all the hats. deal? YOU: okay deal THEM: great confirming i get 1 ball and 2 books.

Answer: Yes

Question: THEM: i need one of each YOU: i need both books and a hat THEM: i can do that, if i get the ball and one hat YOU: so i would get both books and a hat? THEM: yes YOU: i can do that.

Answer: Yes

Question: THEM: gimme ball and book YOU: i need book and 1 hat THEM: deal.

Answer:
Yes