s='' for c in raw_input():z=ord(c)-96;s=c*z+s[z:];print s