TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: can i get the hats and the books? YOU: i was hoping for the hats and the ball. the books have no value for me, so you should take them for sure. THEM: i will take them, and you can have the ball. but i need the hats YOU: i can't do a deal without any of the hats. THEM: neither can i without all the hats YOU: then no deal THEM: no deal YOU: no deal THEM: no deal YOU: no deal.

SOLUTION: No

PROBLEM: THEM: hey there... i'd like the book and balls - will the hats be of value to you? YOU: not enough value. how about i get the hats and 1 ball. THEM: i'd be really upset if your hats were 3 points, but that's a deal. YOU: they're definitely not. thanks.

SOLUTION: Yes

PROBLEM: THEM: i can give away 2 hats and 2 books YOU: you can have the ball if i can have the hats and the books THEM: how many balls do i get? YOU: there is only one ball. THEM: hold on YOU: i will give you the ball if i can have the hats and the books THEM: okay sounds fair YOU: okay thank you!

SOLUTION:
Yes