Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'll take the books and hat if you want the balls  YOU: i need the hat and 1 book and you can have the rest  THEM: i cant make that work mathmatecally...... i could do the hat and 3 balls  YOU: the balls have no value  THEM: thats what i was saying i will take the balls and a hat  YOU: i have to have the hat  THEM: i would have to take everything else if you wanted the hat  YOU: how about i take the books and 1 ball.
Output:
Yes