import sys
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
n=INT()
ls=list("abcdefghijklmn")
for i in range(n):
    print("a"*(n-1)+ls[i])
