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: ball and hats for me YOU: i get ball and 1 book you can have the rest THEM: 1 ball and 1 hat for me YOU: no dea THEM: no deal then YOU: come on let's negotiate THEM: ball and hat or both hats for me YOU: there is only 1 ball THEM: right, so 1 ball 1 hat for me or both hats for me YOU: you get both hats and two books deal.
No