Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: do you have a basketball i can get from you?  YOU: if i am able to get the hats and the books from you then you can have the ball.  THEM: i can give you three hats in exchange for the ball, but i can't part with the books  YOU: my final offer will be for me to take three hats and one book and you can have the rest.  THEM: that's a deal.  YOU: great! thank you!

Answer: Yes


Question: THEM: book and one hat for me  YOU: you can have the book and 2 hats.  THEM: deal  YOU: great!

Answer: Yes


Question: THEM: if i can have the ball and the hat you can have all of the books  YOU: i'll take the ball and three books or ball and hat.  THEM: i can give you the hat and two books  YOU: the hat and all the books.  THEM: that works!

Answer:
Yes


