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

[EX Q]: THEM: i need the book and 1 hat and you can take the rest? YOU: i need the book as well. if you take the book i need everything else THEM: okay i will take the book and you take everything else YOU: okay thank you.
[EX A]: Yes

[EX Q]: THEM: i would like 1 book and 2 balls. YOU: you can have the ball but i would like the book and the hats THEM: you can have 3 hats and 1 ball, if i can have 1 book and 1 ball. YOU: if you get the book i have to have the rets. or i will take the book and you have the rest THEM: hmm, okay i'll take the book and you can get the rest. YOU: ok.
[EX A]: Yes

[EX Q]: THEM: hi, i want the 2 hats, and the 2 balls. what do you need? YOU: thats a lot... if i can have the book and a ball i can agree to that THEM: you want 1 book and 1 ball? YOU: yup THEM: i can agree to that. i take the rest then.
[EX A]:
Yes