#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e17 + 9;
void solve(int falt, string s) {
  if (falt == 0) {
    cout << s << endl;
    return;
  }
  solve(falt - 1, s + "a");
  solve(falt - 1, s + "b");
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  if (n == 1) {
    cout << "a" << endl;
    return 0;
  }
  solve(n - 1, "a");
  return 0;
}
