TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i need one hat, and one book please YOU: ok deal.

SOLUTION: Yes

PROBLEM: THEM: do you have a basketball i can get from you? YOU: if i am able to get the hats and the books from you then you can have the ball. THEM: i can give you three hats in exchange for the ball, but i can't part with the books YOU: my final offer will be for me to take three hats and one book and you can have the rest. THEM: that's a deal. YOU: great! thank you!

SOLUTION: Yes

PROBLEM: THEM: i'd really love the hats, and also the book. what about you? YOU: i need the book and the balls. you can have the hats THEM: no way i could get the book as well as the hats? YOU: no that will not work for me. you can have one ball if that would work for you along with the hats THEM: the balls are worthless for me, so you should take them all if they have value for you. i'll live with just the hats. YOU: okay, so i get the book and the balls? THEM: yes YOU: okay thank you.

SOLUTION:
Yes