import numpy as np
import sys
n = int(input())
li = ["a","b","c","d","e","f","g","h","i","j"]
ans = []
anss = "a"*(n-1)
for i in range(n):
    anss = "a"*(n-1)
    anss += li[i]
    ans.append(anss)
for i in range(n):
    print(ans[i])