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

Input: Consider Input: THEM: what do you want? YOU: ideal would be the ball and two hats. THEM: i'd need the book at 3 hats to be at 6. that's the best i can do. YOU: deal, i'll take the ball and one hat.

Output: Yes

Input: Consider Input: THEM: if i can have the hats and the book you can have the balls YOU: i need book and two balls THEM: that seems reasonable. deal. YOU: could you talk longer, other wise they ll tell us please negotiate longer THEM: sure. YOU: ok last messgae, so i ll take one book and two balls THEM: yes. thank you!

Output: Yes

Input: Consider Input: THEM: can i have the balls and a book please? YOU: just balls then THEM: balls and either a book or hat then YOU: one hat deal.
Output: Yes