Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

Input: Consider Input: THEM: can i have the hats and a book please? YOU: what about 2 hats 1 ball THEM: all hats and ball? YOU: 2 balls 1 hat for you THEM: all hats and a ball final deal.

Output: Yes

Input: Consider Input: THEM: hi i would like the hat and ball and you can have the books YOU: would you trade the hat for a book? THEM: no im sorry, i cant do that. YOU: ok, i accept your initial offer then. THEM: thank you.

Output: No

Input: Consider Input: THEM: i need all the books YOU: you can have 3 books, i'll take 1 of each THEM: if i can't have all the books i want 3 books and 1 hat YOU: the first deal works better for me, you can have the books if i get the hat and ball THEM: ok fine.
Output: Yes