#include #include #include #include using namespace std; #define FOR(x,y) for(int x = 0;x < y;x++) #define LLI long long int template class UF { public: vector par,rank,cnt; UF() {par=rank=vector(um,0); cnt=vector(um,1); for(int i=0;irank[y]) return par[x]=y; rank[x]+=rank[x]==rank[y]; return par[y]=x; } }; int main(int argc, const char * argv[]) { LLI N; cin >> N; vector texts; while(N > 0) { int mod = N % 26; texts.push_back('A' + mod); N /= 26; } reverse(texts.begin(),texts.end()); for(auto c : texts){ cout << c; } cout << endl; return 0; }