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

[EX Q]: THEM: i'd like both hats and 2 books please?  YOU: i would like that but i can't, i need all books and one hat and one ball  THEM: that doesn't work for me. i need both hats and at least 1 book.  YOU: ok both hats and one ball  THEM: confirming that i'm taking 2 hats and 1 book not the ball?  YOU: yes.
[EX A]: Yes

[EX Q]: THEM: can i have ball and 2 hats?  YOU: yes to the ball and even a book, but i must take umbrage at relinquishing any of the hats  THEM: book is 0 for me. how about ball and 1 hat?  YOU: it is not ideal but a reasonable request and i will agree  THEM: thanks.
[EX A]: Yes

[EX Q]: THEM: hey, i like the three hats and either the book or the ball  YOU: i can do one hat. but i'll need the book and ball.  THEM: i can give you one book or one ball  YOU: how about i take the book and ball and give you all three hats?  THEM: ok  YOU: sounds good. deal!
[EX A]:
Yes

