#include "bits/stdc++.h" using namespace std; #define FOR(i,j,k) for(int (i)=(j);(i)<(int)(k);++(i)) #define rep(i,j) FOR(i,0,j) #define each(x,y) for(auto &(x):(y)) #define mp make_pair #define mt make_tuple #define all(x) (x).begin(),(x).end() #define debug(x) cout<<#x<<": "<<(x)< pii; typedef vector vi; typedef vector vll; int main(){ ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; string s = "a"; ll cur = 1; int bit = 1; while (cur * 2 <= N)cur *= 2, bit++; char c = 'a'; for (int i = bit - 2; i >= 0; --i) { s = c + s + c; if (N >> i & 1) { c++; if (c == 'z' + 1)c = 'a'; s = c + s + c; } } cout << s << endl; }