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: ill take four books  YOU: if i can have the hat and ball that is a fair deal.  THEM: thx.
Output:
Yes