TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: what would you like? YOU: if i can have the hats and the books you can have the balls THEM: i need the books. how about 1 book and the balls. you can have the hats YOU: okay so we split the books? THEM: yes and you take hats YOU: okay deal.

SOLUTION: Yes

PROBLEM: THEM: let me get those hats, cowboy. YOU: sorry i need one hat. i also need the book. have you considered you only have one head? THEM: the other is for my little cowboy if you know what im talking about. gonna be honest those hats are the only thing of value for me and just one kind puts me out. YOU: you sure you don't want some basketballs? i have no value for the basketballs. on the other hand, if i don't take a hat with me, i'm getting a raw deal. THEM: i'm sorry to hear those balls arnt worth anything for either of us i think maybe we are both getting a raw deal in points here on the items =( last i'll ask if i can't have hats i'm afraid we are going to be at an impass YOU: i don't think we can agree to anything sadly, not getting a hat just puts me in a tough spot. THEM: well i dont know how to get that little no deal button to light up and unfortanlly this has went well past being worth 15 cents so lets move on you can take whatever you care to i'll take a hat and a ball. YOU: it'll light up when the hit takes long enough, but i just need a book and a ball THEM: welp im in this to make some money not negotiate for that extra 5 cent bonus =p so let me know what you are taking and run with it. YOU: ok i'm taking the book and a hat. didn't mean to get you excited, but the ball was a typo.

SOLUTION: No

PROBLEM: THEM: i need the balls, the rest to you YOU: i would liek one ball THEM: okay, one ball to you, i'll take two balls and the book YOU: they are all worth 2 points for me. i need 3 things in total. THEM: okay, you can have one of each YOU: great. thank you.

SOLUTION:
Yes