Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: you can have the balls if i can have the rest  YOU: if i can also have one book that would be great  THEM: you have have one book if i can have the hat, 2 books, and one ball  YOU: that won't work for me. i need either the balls in addition to a book or the hat  THEM: sorry my message was confusing. you can have the balls and a book  YOU: okay thank you!
Output:
Yes