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: hello you can have all of the books if you let me have the hat and the ball.  YOU: if i take the hat you can have the rest  THEM: i only need the hat and the ball  YOU: everything else is worthless to me. i'll take only the hat or no deal.

No