TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i want two and one of the books and balls. YOU: sorry, re read what you typed THEM: how about two books and a ball for me? YOU: no, i need both books THEM: can i take the rest. i'd rather give up a hat if not. YOU: i'll take both books, you can have the rest.

SOLUTION: No

PROBLEM: THEM: i would like the ball and one hat please YOU: i need the ball, but you can have both hats if i get the books THEM: i need the ball also. you can have everything else, if i can have the ball YOU: i need the ball and at least one book to be worthwhile THEM: i have to have the ball, or i can't make a deal YOU: then we're at an impasse THEM: yes i guess so YOU: no deal THEM: no deal YOU: no deal.

SOLUTION: No

PROBLEM: THEM: i would llike the book and the hat. you can have all of the balls. YOU: how about we split the balls and i get either the hat or book. you can choose. THEM: okay sounds good. i will take the book. you can have the hat. we will split the balls. have a great night! YOU: you too!

SOLUTION:
Yes