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

[EX Q]: THEM: i would like both books and a hat YOU: i can not make that deal. i need the books as well. can we split the difference? you can have one book and the hat and i can have the book, the hat and the ball? THEM: i just want the books YOU: i need the books as well. i can not make a deal without a least one THEM: ok, one hat one book YOU: i need the ball as well THEM: yea you get one ball, book, hat YOU: okay deal.
[EX A]: Yes

[EX Q]: THEM: i would like the books, you can have the rest. YOU: hmmmmm THEM: or i can take just one book, i don't need the other stuff. YOU: ok deal.
[EX A]: Yes

[EX Q]: THEM: i need the book and the balls YOU: if you take the book i take everything else THEM: great.
[EX A]:
Yes