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: book and hats 1 ball  YOU: no deal  THEM: 1 book 3 hats 1 ball  YOU: no deal  THEM: 1 book 3 hats  YOU: no deal  THEM: 1 book 2 hats 1 ball  YOU: i want three hats thats all  THEM: 1 book 2 hats 1 ball  YOU: no deal.
Output:
No