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: hello there! i'd like the book and the hats, balls can be yours! YOU: i'm okay with you having the hats, but i'd like book and balls. THEM: any chance i can have the book and 2 hats? YOU: i have no need for the hats. THEM: with that, i'm assuming your book is 2 points, and you're not willing to give it up? YOU: more THEM: hmph, alright. i'll go with just the hats.
Output:
Yes