Given the task definition and input, reply with output. Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: i would like the book and the hats  YOU: you can have the hats i would like the book and the basketballs  THEM: that will put me too negative. i really need the book  YOU: i would like the book as well  THEM: i will take the book and 1 hat and 1 ball  YOU: ill take the book and the balls you get the hat  THEM: no i need one book and one hat.  YOU: you will only get the hats  THEM: no i cannot agree to that  YOU: well neither can i. you can have the 1 ball and the 2 hats  THEM: ok. i will take that  YOU: okay deal.

Yes