#include #include #include using namespace std; int main(){ long long n;cin>>n; string s; while(n != 0){ s.push_back('a'+n%26); n/=26; } reverse(s.begin(),s.end()); if(s.size()!=1)s[0]--; cout << s << endl; }