Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i'd like to grab a ball, a hat and the book YOU: i need the hats you can have the ball and book THEM: i can agree to that.

Answer: Yes

Question: THEM: how about the book and the hat for me? YOU: ok, sounds good THEM: deal.

Answer: Yes

Question: THEM: can i have hats and book YOU: i need the hats... if i can have the hats and one ball you can have one ball and the book THEM: i don't need a ball YOU: would you accept the book and i can have everything else THEM: i would really like a hat YOU: okay you can have the book and one hat and i can have everything else? THEM: yes YOU: okay deal.

Answer:
Yes