#include #include using namespace std; char c[105]; int main() {int i; cin>>c; for(i=0;i<=strlen(c)-4;i++) { if(c[i]=='Y' && c[i+1]=='a'&& c[i+2]=='r' && c[i+3]=='d' && c[i+4]=='i') {cout<<"YES"; return 0; } }cout<<"NO"; return 0; }