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: gimme the hats, you take rest  YOU: i want the hats.  THEM: can give em up  YOU: can? so i'll take the two hats and you get the rest?  THEM: by can.... i mean't can't. sorry to get hopes up. we can split them?  YOU: fine. i'll take a hat and a book.

Yes