from random import choice X="abcdefghijklmopqrstuvwxyz" n=int(input()) mae="a" for i in range(n-1): S=[mae] while len(S)<20: S+=[choice(X)] print("".join(S)) mae=S[-1] print(mae+"n")