Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: what would you like YOU: i would like the hat and the books please THEM: i need books YOU: you can have one book if i can have the other two and the hat THEM: i need books or no deal YOU: okay deal. you get the books i get everything else. THEM: one hat YOU: i get just the hat? THEM: no i need hat with books, or two balls YOU: no deal. you can have the books or the balls but no hat.
Output:
No