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

[Q]: THEM: can i have the hats and a book please?  YOU: what about 2 hats 1 ball  THEM: all hats and ball?  YOU: 2 balls 1 hat for you  THEM: all hats and a ball final deal.
[A]: Yes


[Q]: THEM: you can have the book and balls if i can have the hats  YOU: how about i get the book one hat and one ball and you can have one hat and two balls?  THEM: no deal. i cannot give up the hats  YOU: okay then you can take the hats and i will take everything else.
[A]: Yes


[Q]: THEM: i would like the ball and two hats.  YOU: i'll give 1 hat and 1 book  THEM: ok, my counteroffer is the ball and one hat, final offer.
[A]:
No


