#include <bits/stdc++.h>
using namespace std;

int main(){
  long long n;
  cin>>n;
  string s;
  while(n>0){
      n--;
      s+=('a'+n%26);
      n=n/26;
  }
  reverse(s.begin(),s.end());
  cout<<s<<endl;
}
