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: i would like both books and the hat  YOU: okay  THEM: ok deal.

Output: Yes


Input: Consider Input: THEM: gimme hat, you have rest  YOU: deal.


Output: Yes


