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 want the book and 3 hats  YOU: no deal i need the book also  THEM: well, phoo, but it happens  YOU: you must have the book to make deal?  THEM: yep  YOU: then we will not be able to agree sadly  THEM: so we just have to exchange msg's until we get the no deal option  YOU: yes i know, this is sad!  THEM: nd  YOU: maybe next time we can make a deal.
Output:
No