#include #include using namespace std; char s[105]; int main() { //freopen("date.in","r",stdin); //freopen("date.out","w",stdout); gets(s); if(strstr(s,"Yardi")){ printf("YES"); } else{ printf("NO"); } return 0; }