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

[Q]: THEM: ill take the book and balls you can have the hats. YOU: i really need the book, you can have the rest THEM: how about if you take the hats and 1 ball and i take a ball and the book the hats have no value to me. YOU: the only thing that has value to me is the book THEM: ok you can have the book ill take the rest. YOU: deal, thanks.
[A]: Yes

[Q]: THEM: i would like the 2 hats and the ball. YOU: i need the 2 hats you can have the rest THEM: no deal, you can have one hat and i'll have the other, plus the ball YOU: i need both hats or i can't make a deal THEM: no deal, the ball is not a good catch on its own YOU: you can have the ball and the books THEM: okay thanks.
[A]: Yes

[Q]: THEM: i need the books and 1 hat YOU: you can have the books if i can have both hats and the ball. THEM: okay.
[A]:
Yes