Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: hi can i have one hat and one ball?  YOU: i need the same. if i can have the hat and one ball and one book you can have the other ball and the books  THEM: well the books have no value to me  YOU: you can have the balls if i can have the hat and the books  THEM: can i have just the hat?  YOU: okay deal.  THEM: ok.
Output:
Yes