Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: hello, i'd like the balls and hat. you can have the books.  YOU: no can do id like the balls and hat  THEM: i can't do that. i can give you the hat and two books.  YOU: no deal  THEM: best i can do is the hat and all three books.  YOU: no deal we want the same things so were not going to be able to negoiate  THEM: yes, i need those balls i'm afraid.  YOU: so do i  THEM: you can have one ball and one book if i get the rest.  YOU: no deal  THEM: how about you get one ball and the hat?  YOU: nodeal  THEM: given you aren't getting both balls, what would you like?  YOU: i want no deal i cant take one ball and one hat or one ball and one book i would rather have no deal  THEM: how about one ball and two books?  YOU: no deal im clicking the no deal  THEM: we can agree on that then.
Output:
No