TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i can part with the hats but would like the book and ball YOU: i can not part with the ball but can split the hats or book. THEM: i must have the book... i can cede all others YOU: you an have the books if i can have the others. THEM: deal.

SOLUTION: No

PROBLEM: THEM: can i take the balls and the hats? YOU: just hats THEM: sorry, can't do that. really need them YOU: just hats and one ball then THEM: 2 balls and one hat. i won't go any low YOU: how about two hats one ball THEM: no deal, that does not work for me. want the 2 balls and one hat. this is as low as i go YOU: yeah no deal THEM: no deal then, sorry YOU: no deal.

SOLUTION: No

PROBLEM: THEM: give me the books and two hats YOU: no THEM: counteroffer? YOU: ill take the balls and hats THEM: let me have 1 item and the books YOU: you can have the books and 1 hat THEM: ok deal.

SOLUTION:
Yes