Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

Q: THEM: how about you get the book YOU: i want the book and both hats THEM: one hat YOU: ok, if i can get one ball too THEM: never YOU: you can have both balls if i can have everything else THEM: deal.

A: Yes
****
Q: THEM: i can offer you the hats YOU: i can take the ball and 2 hats or the ball and 2 books. THEM: no i can only offer you the 3 hats or this wont work for me and we say no deal until the button comes up YOU: fine. THEM: fine what???? YOU: no deal. three hats only gives me three points. i can't do it. THEM: fine i can offer you 2 hats YOU: i can also take the ball and you get everything else. THEM: now i can offer you no hats YOU: i can also offer you the ball and i take everything else. 5 points isn't horrendous for me. THEM: i can offer you one book and 3 hats last offer YOU: no deal.

A: No
****
Q: THEM: i would like the ball and the books YOU: i will give you both books and a hat THEM: i can not do that. i do need the ball. YOU: if you give me both hats and both books i will give you the ball THEM: you can have both hats. can i have 1 book and the ball? YOU: no i need both hats and both books THEM: okay. deal.

A:
Yes
****