You will be given a definition of a task first, then some input of the task.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: i'd like the ball and the books and you can have the 2 hats  YOU: if i take the hats i need the books as well  THEM: no deal. you can have the hats only.  YOU: i can't accept that deal... i would need the ball if i can not have the rest  THEM: no deal.  YOU: okay no deal.  THEM: okay, setting all numbers to 0 until no deal button shows up  YOU: okay no deal.  THEM: no deal was agreed.  YOU: no deal.
Output:
No