#include #include int main() { char s[130]; gets(s); if (strstr(s, "Yardi")) printf("YES\n"); else printf("NO\n"); return 0; }