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: hi. i must have both books for this deal. you can take the hat and 3 balls.  YOU: deal.
Output:
Yes