#include #include using namespace std; int main() { char s[102]; cin.getline(s, 101, '\n'); if(strstr(s, "Yardi")) cout<<"YES"; else cout<<"NO"; return 0; }