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 a hat and 1 book and 1 ball YOU: no way. i must have the hat. i take the hat you take the books and the balls. THEM: i can give you the hat and i take the rest right YOU: yes i take the hat. you take the rest.
Yes