TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i would like the books and ball. YOU: i need both books to make a deal THEM: i can't give up the books. do you want anything else? YOU: nothing else has any value to me THEM: interested in splitting the books? YOU: can't finish with 5 points : ( THEM: less than that for me. YOU: so no deal THEM: you sure we can't work something out? YOU: no, the math just doesn't work THEM: ok. sorry.

SOLUTION: No

PROBLEM: THEM: i'd like 1 of each, please. YOU: i'd like the ball and a hat, rest is yours. THEM: deal.

SOLUTION: Yes

PROBLEM: THEM: i'd like a hat, ball and 5 books YOU: ok on the books. five hats and a ball for me. THEM: how about i take the books and balls, you keep the hats YOU: first time with this hit. i think it says we have one book, two hats, and two balls. is that what you see? THEM: yes YOU: take the book and the two balls, and i'll have the two hats. THEM: deal YOU: how do we submit / end? THEM: yes YOU: agreed. i am not able to submit. can you?

SOLUTION:
Yes