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 all the hats  YOU: can you give up just 1 hat? i would like the ball and 2 hats.  THEM: i can do that.  YOU: so ball and 1 hat for me?

Yes