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

[EX Q]: THEM: i'd like 1 of each YOU: okay, can i get your balls and books? THEM: nope YOU: what about hats : THEM: i'd take ball and 2 hats YOU: ok THEM: ok.
[EX A]: No

[EX Q]: THEM: i would like one of everything YOU: i would like just the hat THEM: the hat is something i need or we won't be able to make an agreement YOU: hmmmm. same with me. THEM: is there any way you can make this work without taking the hat? YOU: hat is all i need THEM: i'm going to get shafted here but i'd rather meet an agreement then not.
[EX A]: Yes

[EX Q]: THEM: i just need both balls you can have the rest YOU: how about one ball and one hat go to you? and i'll take the book, 1 hat, and 1 ball. THEM: everything else is worthless to me, i need both balls YOU: okay, i can do that. 2 balls to you and 1 book and 2 hats to me.
[EX A]:
Yes