n = int(input()) for i in range(n): if i == n-1: print("an") else: print("a"*(i+1))