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: hi. ill take the book and balls and you can have the hats YOU: ill take the book and a hat, u the rest. THEM: no. you can have the hats and 1 ball YOU: nah THEM: thats the best i can do YOU: how about me the book, and you the rest? THEM: nope YOU: then no deal THEM: fine. no deal YOU: ok.
Output:
No