instruction:
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
question:
THEM: gimme the hat and books YOU: you can have the books. but i need the hat. THEM: books and balls to me YOU: you can have the books and 1 ball? THEM: ok.
answer:
Yes

question:
THEM: i would like the ball and one hat please YOU: i need the ball, but you can have both hats if i get the books THEM: i need the ball also. you can have everything else, if i can have the ball YOU: i need the ball and at least one book to be worthwhile THEM: i have to have the ball, or i can't make a deal YOU: then we're at an impasse THEM: yes i guess so YOU: no deal THEM: no deal YOU: no deal.
answer:
No

question:
THEM: i want the book. you can have the rest YOU: i can make that work.
answer:
Yes