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 would be happy with just two hats  YOU: we can split the hats i'll take the ball you can have the books.
Output:
Yes