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: you can have all of the books if i can have the hat and the ball.  YOU: i have always wanted a ball just like that. you can have the hat and a book  THEM: it truly is a fantastic ball and i do not want to give it up.  YOU: the only way i could get over losing that ball is if i got to read my 4 books while wearing my new hat  THEM: i really can't justify denying you the new hat and books. so i will take the ball and you take the rest?
Output:
Yes