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'd like the hat and two balls please  YOU: hat and one ball please  THEM: i'll give you the ball and both books if i can have the hat  YOU: two balls  THEM: yes sorry, typo there. i'll give you both books and both balls  YOU: deal.
Output:
Yes