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