from string import ascii_lowercase from itertools import product R=ascii_lowercase n=R.index("n") Y=R[:n]+R[n+1:]+R[0] N=int(input()) Z=list(product(R,repeat=3)) X=[""]*N for i in range(N): q=i//25 r=i%25 if (i-1)//25!=q: W="" for b in Z[q]: W+=b X[i]=Y[r]+W+Y[r+1] print("\n".join(X))