main(d,c,b){for(;c-10;){c=getchar();if(c>=65){d=c;putchar(c);} else{for(;c>49;c--)putchar(d);}}}