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

[EX Q]: THEM: i keep the book you get the rest YOU: deal THEM: deal.
[EX A]: Yes

[EX Q]: THEM: i'll take the ball, 1 book, and 1 hat please. YOU: i need the ball and one hat THEM: if you take the ball, then i need everything else. YOU: that doesn't work for me, i'll need a hat in addition THEM: that doesn't work for me. if you take the ball, i need the rest. YOU: then we're at no deal THEM: alright you take the ball and 1 hat. i will take the rest. YOU: deal.
[EX A]: Yes

[EX Q]: THEM: i would like 2 hats, 1 book, and 1 ball. YOU: how about 2 hats and a ball? THEM: i'll take 2 hats and a book. YOU: can't do that - what about 2 hats and 2 balls? THEM: how about i take 2 books, 1 hat, and you take the rest? YOU: nope, i will give you both the hats and both the balls THEM: can i get both hats, 1 book, and 1 ball? YOU: no, but i guess i will do 2 hats and a book - 3 items for each of us. THEM: i'll take 2 hats, and a book.
[EX A]:
Yes