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

[Q]: THEM: ok you take one book, and one hat YOU: i need both books and you can have everything else THEM: ok dea.
[A]: Yes

[Q]: THEM: i want both books and the hat. YOU: you take the hat i take the books and the balls THEM: no way. i'll take the hat and one book. YOU: okay.
[A]: Yes

[Q]: THEM: i'd like the book and the balls. YOU: i can give you 1 ball THEM: deal YOU: so i get hats and 1 ball correct? THEM: that's right and i get the book and one ball.
[A]:
Yes