Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'd like the ball and the books ; are the hats of any value to you? YOU: could you trade a hat for the ball? THEM: ball is the highest value item. ; the only way i can get rid of the ball is for everything else on the table. YOU: ok, well books aren't worth anything for me so i'll take just the hats THEM: kind of figured that, compromising isn't fun sometimes : ) - - if you're ok with that i do appreciate it. YOU: no worries, this works for me.
Output:
Yes