s = input() + "*" t = "" i = 0 while 1: t += "a" if s[i] != "a": break i += 1 print(t)