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

Input: Consider Input: THEM: i'd like the hat, rest to you YOU: i would like to keep the hat, but i will give you a ball and two books THEM: only the hat is worth any money to me YOU: i will give you three books and a ball, and keep the hat THEM: books are nothinig to me, ball is two, hat is 8, so no deal YOU: no deal, but thanks THEM: your welcome, we just have to type a few more messages before we can hit no deal was reached YOU: no problem, THEM: wish we could have reached an agreement, impossible for both of us YOU: indeed, the other items have no value,

Output: No

Input: Consider Input: THEM: hello, i would like the hats and balls and am wiling to give you the book in exchange. YOU: i need the balls and you can have the book and hats THEM: unfortunately i don't get anything from the book but i am willing to give you 2 of the balls and the book while i take 1 ball and the hats YOU: i would like 2 balls and the books. you can have the hats THEM: yes, that's what i just typed YOU: lol sounds good.

Output: Yes

Input: Consider Input: THEM: i'd be happy with both the balls. YOU: how about a book and one ball for you THEM: and 1 hat YOU: thats pushing it THEM: i'll take both of em if i have to... YOU: i ll take both hats and one ball and you get the rest THEM: that's fair.
Output: Yes