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: hey there! i'd like the ball and the hats ; how are the books looking for you?  YOU: unfortunately, that will not work for me. i can give you all of the hats and then i can take the books and the ball if that works for you  THEM: unfortunately thats pretty ugly. how about i get the ball and 2 hats, while you take 2 books and 1 hat?  YOU: that won't work for me. i can take the ball, one book, and one hat if that works for you  THEM: the books are worth nothing to me (such a lie, i love books! ) - - i will take just the hats, then.  YOU: okay great! so you will take the hats and i will take everything else?  THEM: correct  YOU: great! thank you!
Output:
Yes