Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i would like the ball and 1 hat and 2 books YOU: i would like two hats, and two books and you keep the rest THEM: i would like the ball and 1 hat and 1 book. YOU: you can have the ball and two books THEM: i don't want the books. 1 hat and 1 ball YOU: fine, one hat and one ball for you.
Output:
Yes