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: if i could have the ball one hat and one book that would be fantasic  YOU: i only want the ball  THEM: thats a hard one for me, ball is worth a lot here.  YOU: same here.  THEM: figured as much  YOU: i don't like to be intractable, but if i can't get the ball we can't make a deal  THEM: i figured that as much too, the 5 cent bonus isnt worth the wasted time, take the ball i'll take the rest.  YOU: ok.
Output:
Yes