#include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int q; cin>>q; char str[100000],str2[11]="hackerrank"; while(q--) { cin>>str; int n=strlen(str); int j=0; for(int i=0;i