TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i'd like 1 of each YOU: okay, can i get your balls and books? THEM: nope YOU: what about hats : THEM: i'd take ball and 2 hats YOU: ok THEM: ok.

SOLUTION: No

PROBLEM: THEM: i would like 2 balls, 2 hats and 1 book YOU: no. you can have the balls and 1 hat THEM: i can not have 1 book? YOU: no sorry i need both books THEM: you can have both books if i can have both balls and both hats YOU: how about i get both books and 1 hat? THEM: then i would like one book... YOU: sorry, no deal THEM: i get 2 balls, 1 hat 1 book YOU: no deal THEM: you can have both books and 1 hat YOU: deal.

SOLUTION: Yes

PROBLEM: THEM: i'll take the hat and both books YOU: deal.

SOLUTION:
Yes