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