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 get the ball and i get the rest. please  YOU: no. you can have 1 ball, all the books, and i'll take 1 ball and both hats.  THEM: the balls have a zero value for me.  YOU: i'll take all the books, 1 hat, and the balls then.  THEM: can i get 1 book please  YOU: only if i can have both the hats.  THEM: what is of the most value to you  YOU: the books.  THEM: you get 1 book and all balls i get the rest please  YOU: okay deal.
Output:
No