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 book, and you can have everything else YOU: no, i need the book and the hats THEM: the hats and the balls have no value to me YOU: no book, no deeal THEM: ok, no deal, but we'll have to type a while to get a no deal reached message YOU: you have to give a little. i need the book and 1 hat THEM: i can' leave myself with no points, the book is the only one that has value to me YOU: your points are of no concern to me i need the book and you can be left with 0 THEM: ok, no deal YOU: you can have the hats and balls i will be taking the book, accept the deal THEM: no deal.
Output:
No