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: if i can have the hats and the balls you can have the books  YOU: can we share the hats?  THEM: no i need both hats or i can not make a deal  YOU: we need to find a middle ground  THEM: if i can have the hats you can have everything else  YOU: ok  THEM: thank you.

Yes