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 would like the hat and ball  YOU: which one do you need me  THEM: the hat, but if i can't have the ball, i would like 1 or 2 books  YOU: if i give you the hat i need at least 2 books or i wont make a minimum  THEM: ok. i will take the hat and one book.

Yes