r=[*?b..?z,*?a..?z].each q=->n{n==1?'a':n==2?'aa':(s=q[n/2];x=n%2<1?'':r.next;x+s[0]+s+s[0]+x)} puts q[gets.to_i]