#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; while(n > 5) n = (n - 4) / 2; cout << "abcde"[n - 1] << endl; }