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: i'd like the book and one hat YOU: i need the book and 1 hat THEM: bummer, i'll take the hats and the balls? YOU: i need at least 1 of the other items with the book THEM: no deal, sorry YOU: then you take the book and i will take the rest THEM: ok, deal.
Yes