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: hi, i need the hats and 2 books YOU: ill take the ball but i would like a hat and 1 book as well THEM: sorry that does not work for me. i really need the hats and 2 books YOU: i can give you the hats but i would need everything else\ THEM: sorry no deal, i need at least one other item YOU: how about you get the hats and 1 book? THEM: ok deal.
Output:
Yes