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

[EX Q]: THEM: i just want one ball and one book. you can have the rest.  YOU: that is a deal.
[EX A]: Yes

[EX Q]: THEM: give me the balls and hat  YOU: balls are five for me  THEM: give me one ball and the hat, and all books  YOU: nah, sorry, i need all books and oneball  THEM: ok  YOU: so you take hat and one ball.
[EX A]: Yes

[EX Q]: THEM: if i can have the hat and three balls you can have the book and one ball  YOU: hat is also the only thing of value ; the only way i can give up the hat is if i can take everything else. i'm also open to the same offer reversed (you take everything and take the hat)  THEM: i will take the hat and you can have everything else. if that works for you  YOU: its not the best, but it seems fair enough, deal  THEM: okay thank you.
[EX A]:
Yes

