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

[Q]: THEM: if i can have the hats and the balls you can have the book YOU: i'll take the hats and book. you can have the basketballs. THEM: i need at least one hat as well YOU: the balls and book are of little value. i have to have the hats to make it a decent deal. THEM: would you be willing to accept one hat and the book? YOU: you have no need for the book? THEM: it is of little value to me YOU: would you be willing to take the balls and book and let me have both hats? THEM: okay deal. YOU: sounds good. deal!
[A]: Yes

[Q]: THEM: i would really like the book YOU: i rather like the book also. how about i get the book, you get the ball and we split the hats evenly. THEM: i don't want the hats, i only want the book YOU: yes, i want the book also. i'll let you have the ball and three hats. THEM: i don't want the ball YOU: we seem to have reached an impasse then. i need that book. THEM: i need the book also. YOU: best offer i can make is i get the book, you get everything else. THEM: sorry, but that doesn't work for me. i only want the book YOU: i'm afraid we won't be able to reach a deal then.
[A]: No

[Q]: THEM: if i can have the book, the rest is yours YOU: all yours.
[A]:
Yes