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 want the book and hats you can have the ball YOU: i can't give you all the books and the hats, that's just not fair. i will give you all of the books THEM: both books and one hat, life is not fair YOU: no, i need the ball and both hats. THEM: going to have to give up a hat YOU: nope, like you said, life is not fair. THEM: well no deal then YOU: okay, then i guess there will be no deal THEM: no deal YOU: no deal.
Output:
No