for each(Q in readline())for(C=Q.charCodeAt()-95;C--;)putstr(C?Q:'\n')