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

[Q]: THEM: book and one hat for me  YOU: you can have the book and 2 hats.  THEM: deal  YOU: great!
[A]: Yes


[Q]: THEM: i will take the basketball and book. you take the hats  YOU: i need ball  THEM: you take the ball and i will take the rest  YOU: ok.
[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


