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

[Q]: THEM: what if i get one of each?  YOU: i need the ball. you can have both books and i take the hats.  THEM: can't do that. how about i get the ball and one hat?  YOU: how about i get the ball and one hat.  THEM: can't do that. what if i get the ball and both books.  YOU: the ball is the only thing i can't move on. i need to keep it. how about i keep the ball and the two books.  THEM: i can't. i need the ball. what if i get the ball and you take the rest?  YOU: deal.  THEM: deal.
[A]: Yes


[Q]: THEM: i just want the balls  YOU: and so you shall have them, if i get the rest  THEM: deal.
[A]: Yes


[Q]: THEM: i would like the ball and 2 hats  YOU: i need the ball, 1 hat, and 1 book.  THEM: you can have all the books, but i either need the ball or all the hats.  YOU: i need the ball and books, you get all the hats.  THEM: ok.
[A]:
Yes


