def main(): N = int(input()) for i in range(97, 97 + N - 1): s = chr(i) + chr(i+1) print(s) print(chr(i+1) + 'n') main()