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: let me get that hat and a book. YOU: you can have the hat, the rest to me THEM: hat and one book, you can have all three balls and the other book. YOU: that wouldn't be fair to me, sorry THEM: i'm trying to walk away with 50 / 50 here and i need one of those books to do so. YOU: yep, 50 / 50 is what i'm going for, too THEM: seems this is stacked against us here then, you can have both books and two balls and i'll take the hat and a ball then. YOU: ok, i lose, but it's a deal.
Output:
Yes