TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: hello there. i'd really like to get the hat if possible. YOU: i can give up the hat for 2 balls and 2 books or for 3 books and a ball. THEM: ok, i'll take the hat, and one ball, you get everything else? YOU: sounds good THEM: deal.

SOLUTION: Yes

PROBLEM: THEM: i'd like the ball please. YOU: i would too THEM: you wouldn't want the books and hats? YOU: hmmmm, ball looks good THEM: okay, take the ball and i'll take the rest.

SOLUTION: Yes

PROBLEM: THEM: i want the book and ball YOU: can i take the ball if you take the rest? THEM: yes.

SOLUTION:
Yes