Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: you get hat and one ball and i get the rest  YOU: how about i get 2 balls, hat and 1 book  THEM: never  YOU: then do you have another offer  THEM: you take hat and two balls  YOU: 1 ball, hat, 1 book  THEM: i can't, that would leave me with nothing  YOU: how about i take hat and a book  THEM: deal  YOU: deal i will take hat and 1 ball  THEM: no ball  YOU: oops i'm sorry i meant book. are you having a hard time closing these at the end  THEM: sometimes, so book and one hat for you then  YOU: yes.
Output:
No