TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: book and balls for me YOU: you can have the book, 1 ball, and 2 hats. THEM: all the hats to you for both balls and the book YOU: no deal. i want all the hats and 1 ball. THEM: ok deal YOU: okay deal.

SOLUTION: Yes

PROBLEM: THEM: i would like the book and the hat. you can have the balls. YOU: alright.

SOLUTION: Yes

PROBLEM: THEM: if i can have the book and a ball you can have the rest YOU: so 2 hats and 2 balls for me? THEM: yes, that's correct. YOU: okay but only if we keep chatting for a bit because they keep saying i give up to easy THEM: okay. maybe you can give me an extra ball? YOU: no sorry that would not give me enough points THEM: okay well then lets go back to our original deal i will take the book and a ball and you will take the rest YOU: okay deal now we can click the button.

SOLUTION:
Yes