Given the task definition, example input & output, solve the new input case.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example: THEM: i need the hats and the ball  YOU: i can give you one hat and the ball. i want 2 books and 1 hat  THEM: i have to have both hats and the ball or both hats and a book to make a deal  YOU: sorry, i won`t make a deal without a hat  THEM: if you take 1 hat i have to have everything else  YOU: sorry can`t do  THEM: no deal  YOU: yesh no deal, sorry  THEM: no deal  YOU: no deal.
Output: No
Both participants do not agree to the deal, so the answer is No.

New input case for you: THEM: i'll take 1 book 1 hat and the ball  YOU: no deal. i will take the basketall and both books you can have the hats  THEM: no way i get the ball and you can have both hats and books  YOU: no i will take the ball and 1 book you can have the rest  THEM: no deal my best and final i get the ball and 1 book you get the hats and a book thats fair  YOU: that's not fair. i get a book and the basketball. you can have the other book and both hats  THEM: look i will take the ball you can have the rest that's 4 for 1  YOU: no deal i won't give up the baskeball. i will take the ball you take the rest.
Output:
No