# import sys; input = sys.stdin.buffer.readline # sys.setrecursionlimit(10**7) from collections import defaultdict con = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) import random #処理内容 def main(): N = int(input()) L = [chr(i) for i in range(97, 110)] + [chr(i) for i in range(111, 123)] rand = list(range(25)) # print(chr(110)) # print(len(L)) start = None for i in range(N - 1): if start == None: word = "" for j in range(19): word += L[random.randrange(25)] val = L[random.randrange(25)] start = val word += val print(word) else: word = start for j in range(18): word += L[random.randrange(25)] val = L[random.randrange(25)] start = val word += val print(word) word = start for j in range(18): word += L[random.randrange(25)] word += "n" print(word) if __name__ == '__main__': main()