import random n = int(input()) moji = list("abcdefghijklmopqrstuvwxyz") last = "a" for i in range(n): x = random.sample(moji, 12) if i != n-1: print(last + "".join(x)) last = x[-1] else: print(last + "".join(x) + "n")