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: i'd like to have 2 books and the hat, what are you looking for?  YOU: i would like 1 hat and 1 ball  THEM: the hat is the most important item to me, i'll be more than happy to let you have the rest  YOU: i need the hat  THEM: same, unfortunately i'm not going to be able to negotiate without it being on my side  YOU: same with me  THEM: is it possible to hit the "no deal" without originally hitting the "deal was agreed"?  YOU: i cant hit the button on my end  THEM: mind telling me the value of your hat?  YOU: 6  THEM: mine is assigned as 10, i have literally no value for the other items.
Output:
No