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