TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: ok you would like a hat and two balls, am i right? YOU: i need three hats and the book please THEM: not going to happen YOU: what would you like? THEM: book, two hats and one ball YOU: i need the hats. if i can have two hats and the book you can have the rest THEM: how about you take all hats and i keep the re'st YOU: okay deal.

SOLUTION: Yes

PROBLEM: THEM: how about i just take the ball and one book? YOU: i need the ball and the hats THEM: ok if i can have both books YOU: yes i will take the ball and the hats and you can have both books.

SOLUTION: Yes

PROBLEM: THEM: hello, may i have the hats and ball? you can have all the books. YOU: i would need 3 books and the ball THEM: okay, if i can have both hats you can have the rest. YOU: ok deal.

SOLUTION:
Yes