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 want book 2 hats  YOU: i'll give you 2 balls in exchange for the book  THEM: i'll take 3 balls 2 hats  YOU: ok deal  THEM: so you get book only  YOU: yes  THEM: okay.
Output:
Yes