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 would like the books.  YOU: i would like the basketballs and the hats you can have both books  THEM: deal.
Output:
Yes