N = int(input()) word = list("aaaaaaaaaaaaaaaaaaaa") keta = 1 for i in range(N-1): if word[keta] == "z": keta += 1 word[keta] = chr(ord(word[keta])+1) print("".join(word)) print("an")