#include using namespace std; int main(){ int q; cin >> q; for(int a0 = 0; a0 < q; a0++){ string s; cin >> s; // your code goes here const string temp = "hackerrank"; int index=0; for(int i=0; i=temp.size()) cout << "YES" << endl; else cout << "NO" << endl; } return 0; }