Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: all hats 1 ball and the rest yours  YOU: will you take a ball and a hat  THEM: 3 hats 1 ball  YOU: how bout a ball and 2 hats  THEM: for m 1 ball 2 hats ys  YOU: deal.
Output:
Yes