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 could keep 1 hat and all the balls YOU: if you are going to take the book i need both hats and three balls THEM: okay then i will just take the book and you keep all the rest YOU: okay deal. thank you.
[EX A]: Yes

[EX Q]: THEM: i would like the hats and the book. YOU: i would like 1 of each item THEM: let me have both hats and take the rest and we have a deal. YOU: deal.
[EX A]: Yes

[EX Q]: THEM: i would like the books and ball YOU: i need the ball, the rest to you THEM: ok.
[EX A]:
Yes