Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i need all the books YOU: you can have 3 books, i'll take 1 of each THEM: if i can't have all the books i want 3 books and 1 hat YOU: the first deal works better for me, you can have the books if i get the hat and ball THEM: ok fine.
Output:
Yes