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 need one of each  YOU: you can have everything except the hat  THEM: i need the hat to make the math work  YOU: yep me too  THEM: then no deal : (  YOU: okay, no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal.
Output:
No