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

Q: THEM: what would you like YOU: the book and onne ball THEM: deal.

A: Yes
****
Q: THEM: i would like a book, a hat, and a ball. YOU: i would like all the books and you can have the hat and ball THEM: ok deal. YOU: deal!

A: Yes
****
Q: THEM: i'd like hats. YOU: i can let you have two of them if i get everything else. THEM: no deal. i can do 2 hats and 1 book. YOU: hmm. no, that doesn't work. okay, fair enough, you can have all the hats and i get the book and balls.

A:
Yes
****