Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i want the ball and books. YOU: i want the ball and a book and the hats THEM: give me the ball and one book. you can have the rest. YOU: either the ball and a book, or the ball and both hats. final offer THEM: the hat has no points for me. YOU: i'll take both books and the hats? THEM: yes!

Answer: Yes

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: hello, can i have 4 balls and 1 book? YOU: i want both books and the hat THEM: okay deal, 2 books 1 hat for you, 4 balls for me.

Answer:
Yes