for each(c in readline(d="")+"z")putstr(c