Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i want the book and the hat  YOU: can't do that. i need the hat as well  THEM: you can have all the balls  YOU: i dont mind taking some balls, but i need either the book or hat as well  THEM: ok so i take the hat and you can take the book and i'll take the balls as well  YOU: no, can't do that either. i need one or the other + balls  THEM: that's what i offered you  YOU: you said "i'll take the balls as well"  THEM: fine i'll take the hat and you can have the book and one of the balls  YOU: can't do that. i'd need two balls  THEM: i'll take the hat and you can have the rest.
Output:
Yes