Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i will take the hat and book and 1 basketball you take 2 basketballs  YOU: not good for me i need the book and the hat you can have all of the balls  THEM: no that doesn't work. i will take the hat and book you take all the balls  YOU: i will take the hat and all of the balls?  THEM: can't do that. i will take the hat and 2 balls you take the book and 1 ball  YOU: i cant do a deal without the hat  THEM: neither can i.... the best i can do it i take the hat and 1 ball you take 2 balls and 1 book  YOU: the balls are worthless for me, i have to have the hat  THEM: i guess we break even and you take the hat and i take the rest  YOU: is that a deal?  THEM: that's a deal.
Output:
Yes