S = input() T = 'a' while True: if not T in S: print(T) exit() T += 'a'