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