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: what would you like  YOU: i would like the book and the hats please  THEM: yeah i need book  YOU: if you take the book then i need everything else  THEM: fine  YOU: okay thank you!
Output:
Yes