Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: give me balls and books YOU: i would like one book and 2 balls THEM: give me all balls and hats YOU: i would like 2 hats and 1 book THEM: deal.

Answer: Yes

Question: THEM: i want the hat and book. you get the balls in exchange. YOU: balls are 0 for me. i want hat, all the rest for you THEM: ok deal.

Answer: Yes

Question: THEM: i get ball and 1 book you get the rest YOU: would you be willing to take just the ball? THEM: the ball has the least value YOU: ok. let's go with that. i'll take two books and the hat. you take one book and the ball. deal? THEM: deal.

Answer:
Yes