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'd like a hat, ball and 5 books  YOU: ok on the books. five hats and a ball for me.  THEM: how about i take the books and balls, you keep the hats  YOU: first time with this hit. i think it says we have one book, two hats, and two balls. is that what you see?  THEM: yes  YOU: take the book and the two balls, and i'll have the two hats.  THEM: deal  YOU: how do we submit / end?  THEM: yes  YOU: agreed. i am not able to submit. can you?
Output:
Yes