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

[Q]: THEM: book and balls to me  YOU: i can't do that. i can give you one of the balls, and both hats if that's acceptable.  THEM: one book and one ball to me, you have rest  YOU: ok, that's fair enough to me. deal.
[A]: Yes


[Q]: THEM: both hats, you get the rest  YOU: i can do that if you include one book.  THEM: so 2 hats and a book for me?  YOU: sorry, meant exchange a book for a hat in your initial offer.  THEM: hats i like alot, they fit perfect  YOU: i bet they look good on you, but my head is cold and needs a hat.  THEM: ok, how about 1 hat a piece, but i get 2 books and the ball  YOU: let's split the hats, and then you can have any two books you want and i keep my ball.  THEM: deal  YOU: ok.
[A]: Yes


[Q]: THEM: i would like 1 book and 2 balls.  YOU: you can have the ball but i would like the book and the hats  THEM: you can have 3 hats and 1 ball, if i can have 1 book and 1 ball.  YOU: if you get the book i have to have the rets. or i will take the book and you have the rest  THEM: hmm, okay i'll take the book and you can get the rest.  YOU: ok.
[A]:
Yes


