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 hat and the books i will give you the balls YOU: na, all i need is the hat THEM: then we will split the difference i will give you the hat if i can have everything else YOU: sure.
Yes