def convert(n): s = "" while n > 0: s += chr(ord('a') + n % 10) n /= 10 n = int(raw_input()) for i in range(n-1): print "a" + convert(i) + "a" print "a" + convert(n) + "n"