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

THEM: i really need to catch up on my reading. could i have the book and a couple of balls please YOU: i can give you all of the balls if i can have the hat and the book THEM: i can't give up my book YOU: okay then can i have the hat and all of the balls? THEM: what if i keep the book and 1 ball YOU: okay that works. thank you!
Yes

THEM: ok you would like a hat and two balls, am i right? YOU: i need three hats and the book please THEM: not going to happen YOU: what would you like? THEM: book, two hats and one ball YOU: i need the hats. if i can have two hats and the book you can have the rest THEM: how about you take all hats and i keep the re'st YOU: okay deal.
Yes

THEM: i would like a book, a hat, and a ball. YOU: i need hat and a ball THEM: i need the book and the hat. YOU: i need hat or no deal THEM: then we have no deal. YOU: ok THEM: then we have no deal. YOU: yes THEM: waiting for the no deal button. YOU: ture.
No