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

Q: THEM: one book one hat for me  YOU: if i take the ball i need three books  THEM: no deal  YOU: i will also take the hat and the ball  THEM: give me three books you take the rest  YOU: deal  THEM: deal.

A: Yes
****
Q: THEM: i'll offer the ball and a book  YOU: i need 1 hat and 2 books  THEM: i can't give the hat, i'll offer the ball and 2 books  YOU: can i have 3 books than and you keep ball and hat?  THEM: no, can't do that one  YOU: how about i get 1 book and 1 hat?  THEM: the ball and 2 books is the best i can do  YOU: ill settle for 3 books or 1 book and 1 hat  THEM: i can't do either, guess we won't come a deal on this one  YOU: i guess no deal then >. <

A: No
****
Q: THEM: if i can have the book, you can have the rest  YOU: okay that works! thank you!

A:
Yes
****
