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