#include #include #include #include #include #include #include int main(){ int q; scanf("%d",&q); for(int a0 = 0; a0 < q; a0++){ char* s = (char *)malloc(512000 * sizeof(char)); scanf("%s",s); // your code goes here char t[10]; t[0]='h';t[1]='a';t[2]='c';t[3]='k';t[4]='e';t[5]='r';t[6]='r';t[7]='a';t[8]='n';t[9]='k'; int val = 0; for(int i=0; i= strlen(s)){ printf("\n YES \n"); } else{ printf("\n NO\n"); } } return 0; }