Teacher:Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Teacher: Now, understand the problem? Solve this instance: THEM: can i have the balls, and if the book is worthless to you i' could use it.  YOU: the book is good for me, i can take the book and 2 hats  THEM: take all the hats.  YOU: all the hats and the book?  THEM: sure.
Student:
Yes