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: im thinking hat and 3 balls for me,,, 2 books and 1 ball for you  YOU: three balls and two books for me  THEM: lets split the balls... so 2 balls each, i take the hats, you the books  YOU: ok deal.
Output:
Yes