TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i can offer you one ball. YOU: ha, i need the hat and 2 balls THEM: i can give you all the balls if you give me everything else YOU: i need another item with the balls to make that work THEM: i can offer you the balls and one book YOU: okay.

SOLUTION: Yes

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

SOLUTION: Yes

PROBLEM: THEM: you can have the hat. YOU: no deal, i need the hat and 2 balls or no deal THEM: how about you keep the hat and 1 ball? YOU: that's not much worth. i need the hat and the 2 balls or it's not fair on my side THEM: alright.

SOLUTION:
Yes