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: how about you take three hats YOU: i need the ball and two hats and you can have one hat and the book THEM: no way, you can get three hats and one book YOU: okay i will accept that offer. thank you.
Yes