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: you can have the books, i need the hat and the balls  YOU: i can not make that deal. i need the same. if i take the hat and the books you can have the balls  THEM: i can't do that, no deal  YOU: okay, i can not make a deal without the hat  THEM: no deal  YOU: no deal  THEM: lno deal  YOU: no deal  THEM: no deal  YOU: no deal.
Output:
No