#include <bits/stdc++.h>
using namespace std;
long long fix(long long cur, long long m) { return ((cur % m) + m) % m; }
long long fast_power(long long x, long long y, long long m) {
  if (y == 0) return 1;
  long long temp = fast_power(x, y / 2, m);
  temp = (temp * temp) % m;
  if (y % 2 != 0) temp = (temp * x) % m;
  return temp;
}
int32_t main() {
  cin.tie(0);
  std::ios::sync_with_stdio(false);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    long long n;
    cin >> n;
    if (n == 1)
      cout << "a"
           << "\n";
    else if (n == 2) {
      cout << "aa"
           << "\n";
      cout << "ab"
           << "\n";
    } else if (n == 3) {
      cout << "aaa"
           << "\n";
      cout << "aab"
           << "\n";
    } else if (n == 4) {
      cout << "aaaa"
           << "\n";
      cout << "aaab"
           << "\n";
    }
  }
  return 0;
}
