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 hats and the book.  YOU: i need the same. can you part with the hats?  THEM: how about i take the hats and you take the rest?  YOU: that won't work for me. i need the hats. if i can have one ball, one hat, and one book you can have the hat and the ball  THEM: how about i get one hat and the book and you take the rest? this is my last offer.  YOU: okay if that is the best you can do.
Output:
Yes