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: book and hat for me you get all 3 balls.  YOU: i would like the baskeballs and the hat you can have the book  THEM: the book and ball are at zero for me and the hat 1  YOU: i will take the basketballs and the book you can have the hat  THEM: deal.
Output:
Yes