import random, string def randomname(n): randlst = [random.choice(string.ascii_lowercase) for i in range(n)] return randlst n = int(input()) if n == 1: print('n') else: ans = [] for i in range(n-1): ls = ['a'] lm = randomname(18) le = ['a'] ans.append(ls + lm + le) for i in ans: print(''.join(i)) print('an')