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 the basketball and book and you can have all the hats YOU: okay THEM: great! deal.

SOLUTION: Yes

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'd like the book and the rest is negotiable. YOU: i'd also kind of like the book, but can give it up if i can take the rest. THEM: hmm... i suppose we can do that. deal.

SOLUTION:
Yes