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 need the book and two hats  YOU: that will not work for me. the ball is of little value to me  THEM: it's of no value for me. but you can have the hats if i can get the book  YOU: deal.

Yes