S = input() ans = ["a"*i for i in range(1,102)] for a in ans: if a not in S: print(a) break