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

Input: Consider Input: THEM: i want the book, you can have the rest YOU: sounds good to me.

Output: Yes

Input: Consider Input: THEM: i would like the ball and both hats. YOU: i need hats or no deal THEM: i guess no deal then. sorry, i can give you 1 hat only if i get the rest. YOU: ok, no deal THEM: no deal. YOU: yup THEM: no deal. YOU: correct THEM: agreed. no deal. YOU: agreed.

Output: No

Input: Consider Input: THEM: ball and 2 books please YOU: ok but only one book then THEM: done 2 books for you and all hats and i will take the ball and one bok YOU: ok deal.
Output: Yes