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

Input: Consider Input: THEM: i'll take the books? YOU: ok. i'll take 1 hat and the ball. you take two books and a hat?

Output: Yes

Input: Consider Input: THEM: give me the books and hat YOU: deal.

Output: No

Input: Consider Input: THEM: i'd like to have the two hats and book YOU: how about you can have the two hats and one ball, i keep the books and 1 ball... right down the middle. THEM: not much for sports, balls don't do much for me. YOU: well, they do not help me at all, so i'd prefer we meet down the middle somehow. do you propose anything different? THEM: alright, i'll take two hats and the two balls if they don't do a thing for you. YOU: and we're still going to roll with an uneven split. in that case, i'll take the books and a hat, then? THEM: yes sir.
Output: Yes