#include #include using namespace std; int main() { char c[100]; cin.get(c, 100); if(strstr(c, "Yardi"))cout<<"YES"; else cout<<"NO"; }