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