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'll take all the items.  YOU: amusing... all hats for me, ball and book for you  THEM: i'll take the ball, the book and 1 hat.  YOU: subtract any one of those and we're done  THEM: ok, i'll take the ball and 1 hat.  YOU: deal.
Output:
Yes