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

Q: THEM: i'd like the book and some hats... let's talk! YOU: i'll take theball, the rest to you THEM: sounds great! deal.

A: Yes
****
Q: THEM: you take the hats, i get the book and the balls YOU: oooo. can't do that. how about you take the book and a hat? THEM: i can't make a deal with out the book and both balls YOU: i can't do that deal. the hats have no value to me. THEM: then take just the balls, i have to have the book YOU: ok. you want the book and a hat? i'll take the balls and a hat? THEM: no the hats mean nothing to me, no deal YOU: i'm taking the balls and you're taking the book. want to split the hats? THEM: i can't do that YOU: you want the book and both hats? THEM: yes YOU: ok. i can do that.

A: Yes
****
Q: THEM: i can offer you one book YOU: i will need both books or one book and other things. THEM: i can offer you both books if i get everything else YOU: how about i get both books and one ball or one hat? THEM: no i can only offer you both books or we cant make a deal YOU: ok, i agree then.

A:
Yes
****