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

[EX Q]: THEM: i would like the book and basketball you can have the hats  YOU: i would like the basketball and one of the hats as a counteroffer  THEM: deal  YOU: agree.
[EX A]: Yes

[EX Q]: THEM: i can offer 1 book and 1 ball  YOU: deal.
[EX A]: Yes

[EX Q]: THEM: i'll take the hat and two balls, and you can have the rest.  YOU: how about i take the hat and you can have everything else /  THEM: deal.
[EX A]:
Yes

