long s,i,t[99]; main(){ scanf("%ld",&s); for(s++;s--;s/=26)t[i++]=65+s%26; for(;i--;)putchar(t[i]); return 0; }