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 want hat & 2 books YOU: if i can have the ball and the hat you can have all four books. THEM: you can have hat if i have 4 books and ball YOU: i'll give you the hat but then i need the ball and two books. THEM: okay.
[EX A]: Yes

[EX Q]: THEM: i need the hats you can have the ball and the book YOU: ok, i was about to offer the same thing so that's perfect.
[EX A]:
Yes