Teacher: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
THEM: i need the hats and the ball  YOU: i can give you one hat and the ball. i want 2 books and 1 hat  THEM: i have to have both hats and the ball or both hats and a book to make a deal  YOU: sorry, i won`t make a deal without a hat  THEM: if you take 1 hat i have to have everything else  YOU: sorry can`t do  THEM: no deal  YOU: yesh no deal, sorry  THEM: no deal  YOU: no deal.
Solution: No
Reason: Both participants do not agree to the deal, so the answer is No.

Now, solve this instance: THEM: i would like both books and a hat  YOU: i can not make that deal. i need the books as well. can we split the difference? you can have one book and the hat and i can have the book, the hat and the ball?  THEM: i just want the books  YOU: i need the books as well. i can not make a deal without a least one  THEM: ok, one hat one book  YOU: i need the ball as well  THEM: yea you get one ball, book, hat  YOU: okay deal.
Student:
Yes