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'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