N=int(input()) S=[input() for i in range(N)] from random import choice while True: x=[choice(["a","b"]) for i in range(N)] if "".join(x) in S: continue else: print("".join(x)) break