import random import string n = int(input()) a = [] def gen(): while True: s = ''.join([ random.choice(string.ascii_lowercase) for i in range(random.randint(1, 19)) ]) if s[-1] != 'n' and s not in a: a.append(s) break return s for i in range(n - 1): s = gen() print(s) s = gen() print(s + 'n')