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: gimme book and a hat YOU: would you be willing to take all the hats and give me the rest? THEM: i need book, or no deal YOU: ok, i agree to your intial offer then.
Yes