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 2 books and 2 balls YOU: i could not give up both books THEM: how about one book and 3 balls YOU: i would need the hat, one book, and one ball THEM: deal.

SOLUTION: Yes

PROBLEM: THEM: what would you like YOU: the book and onne ball THEM: deal.

SOLUTION: Yes

PROBLEM: THEM: i'll take the ball and books if you want the hats YOU: ill take the hats but i need one other item THEM: i could trade a book for a hat...... anything else puts me mathametically dead YOU: so you take one ball and one book? THEM: and 1 hat YOU: you can have the ball and two books.

SOLUTION:
Yes