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

[Q]: THEM: ok you would like a hat and two balls, am i right?  YOU: i need three hats and the book please  THEM: not going to happen  YOU: what would you like?  THEM: book, two hats and one ball  YOU: i need the hats. if i can have two hats and the book you can have the rest  THEM: how about you take all hats and i keep the re'st  YOU: okay deal.
[A]: Yes


[Q]: THEM: you take the balls, i take the books and the hat  YOU: i keep the hat you take everything else  THEM: i can't do that, i need the hat or no deal  YOU: same here, no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal.
[A]: No


[Q]: THEM: i'd like balls. you can have everything else.  YOU: deal.
[A]:
Yes


