Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: you can have the balls and one hat if i can have both books and one hat YOU: the books are valuable to me, and i cannot part with them. how about you take both hats and a ball? THEM: the books are valuable to me as well. i can agree to one hat and one book YOU: you can have both hats and one book. THEM: deal.

Answer: Yes

Question: THEM: i would only like the book YOU: i can not give up the book. would you be willing to make another deal? THEM: well, how about that then YOU: would you be willing to give up the book at all?

Answer: No

Question: THEM: can i have the hats? YOU: sure if i can have the balls. split the books? THEM: deal.

Answer:
Yes