TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: gimme hats and ball YOU: i want three hats and the book THEM: so do i, YOU: you cant have everything mate THEM: but, thats not what memaw says YOU: i want the ball and two hats then THEM: ok.

SOLUTION: Yes

PROBLEM: THEM: i need the ball and 2 hats YOU: ok, how about 1 hat and 1 ball for you and the rest mine? THEM: i'm going to need the ball and both hats YOU: ok deal.

SOLUTION: Yes

PROBLEM: THEM: i need the 2 hats, and 1 ball, you can have all of the books YOU: sorry, you can have the ball and 2 books THEM: that would leave me with 2 / 10. i at least need the 2 hats YOU: sorry no deal then, how about one hat for you and one for me, i'll take the 4 books and you take the ball THEM: how about i take one of each item YOU: that will leave me very low THEM: ok, i will take the hat and ball.

SOLUTION:
Yes