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: what do you need? YOU: i'd like the hat and book. THEM: thats pretty much what i need. or the hat and the balls. YOU: then i'll take the book. you take the hat and balls? THEM: that works or me. YOU: deal.
Output:
Yes