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

Q: THEM: if i can have the balls and the book you can have the hats YOU: i can't do that, if i can have the book i'll let you have everything else THEM: okay that works for me. thank you.

A: Yes
****
Q: THEM: i need 2 hat 1 book, what do u want YOU: i need the book, a hat and the ball THEM: i don't have hat but holds 4 book and 6 ball YOU: i need the book and 2 hats.

A: No
****
Q: THEM: i would like the balls and the hat or the balls and the books. YOU: i need a hat and a ball and you can have a ball and the 2 books THEM: deal.

A:
Yes
****