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: the book and one ball YOU: i need the ball also, and something else THEM: bet YOU: so who gets ball? and what else do you want? THEM: i want ball and one book YOU: i need the ball and both hats THEM: i need both books and one hat YOU: ok i can take the ball and one hat THEM: yes.
Yes