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: can i have 1 of each thing.  YOU: sorry, i need 1 book, and at least 2 hats.  THEM: dang, i need 1 of each thing to even get a remotely decent score.  YOU: same here, but i figured it'd possibly work out for both of us if i get the 1 book and 2 hats.  THEM: no the points are not the same unfortunately.  YOU: no deal?  THEM: no deal  YOU: setting numbers to 0 and waiting for the no deal button  THEM: same here.  YOU: unless you can settle for me getting 1 book and 1 hat?
Output:
No