n = int(input()) words = [] for i in range(n): if i == (n - 1): word = 'an' else: word = 'a' * (i + 1) words.append(word) for i in words: print(i)