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 would like a hat and the ball and you can have all the books YOU: if you had to pick one which would you rather have /. THEM: i would rather have the hat between the two YOU: how about you take the hat and i take the rest? THEM: that deal works for me.
Yes