Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: hello, how about i get the hat and the books and you can have the balls?  YOU: nah, that won't do. i can let you have the hat and one of the balls.  THEM: could you trade a ball for a book?  YOU: i rather like books. how about you get the hat and two balls?  THEM: ok i can make that deal.
Output:
Yes