Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: if i can have the hat and the balls you can have the books  YOU: if i can have the balls you can have the hat and books  THEM: no deal. i need the balls as well. i need at least one hat and one ball to make a deal  YOU: ok so 1 ball 2 books for me?  THEM: yes.  YOU: im on the losing end but deal  THEM: okay deal. thank you!
Output:
Yes