You will be given a definition of a task first, then some input of the task.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: gimme hat and a book  YOU: i can not let the hat go, i need the hat and 1 book  THEM: need hat, or no deal  YOU: i can not give up the hat, how about i take the hat and you get the rest?  THEM: cant be done  YOU: come on, i will just take the 1 hat  THEM: negative  YOU: no deal then i guess  THEM: correct  YOU: that is bad  THEM: superbad.
Output:
No