s="" for c in raw_input():n=ord(c)%96;s=c*n+s[n:];print s