main(long s){scanf("%ld",&s);return~s?main(s/26-1),!putchar(65+s%26):0;}