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 like a couple of books and either 1 hat or ball YOU: lets split everything and each get one of each. THEM: but i really need 2 books YOU: so do i - so its only fair to split THEM: in that case lets split down the middle - 1 of each YOU: thats what i said lol THEM: not good for me but i'll go with it YOU: ok deal.
Output:
Yes