Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'd close with just the book YOU: no can do i want the book and the hats you can have the basketballs THEM: how about i go with 2 balls and a hat YOU: i will take the book and 1 hat. you can have 1 hat and 2 basketballs.
Output:
Yes