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: id like the hat and two balls  YOU: i need the hat and the book  THEM: the hat is non negotiable for me,,, i can cede the rest but there can be no deal without the hat fr me... sorry  YOU: the hat is the only thing of value  THEM: for me too... so no deal i guess  YOU: no deal to be had here  THEM: nope... no deal... where's the button  YOU: you have to go back and forth a bit before it pops up  THEM: fair enough... no deal  YOU: there is nothing else worth anything for me.
Output:
No