#include #include char uppercase(char c) { if(c>96) return c-32; return c; } bool isWhitespace(char c){ if(c<65) return true; return false; } int main(int argc,char** argv) { int skok = 1; char buf; char vstup[10000]; char vystup[10000]; int pos; while(1){ pos = 0; scanf("%d\n",&skok); if(!skok) return 0; while(1){ scanf("%c",&buf); if(buf=='\n') break; if(isWhitespace(buf)) continue; vstup[pos] = uppercase(buf); //if(buf=='\n') break; //printf("%c \n",vstup[pos]); pos++; } int pos2 = 0; int j = 0; //printf("%d \n",skok); for(int i=0;i