from itertools import product N=int(input()) for i in product("abc",repeat=18): if N==1: print("ab") break print("a"+"".join(i)+"a") N-=1