#include #include #include #include #include #include #include int main(){ int q; scanf("%d",&q);char a[]="knarrekcah"; for(int a0 = 0; a0 < q; a0++){ char* s = (char *)malloc(51200 * sizeof(char)); scanf("%s",s);int n=strlen(s); // printf("%s %s\n",s,a); // your code goes here for(int i=0;i