long s;char t[];main(i){for(scanf("%ld",&s);~s;s=s/26-1)t[--i]=65+s%26;s=!puts(t+i);}