#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
using ull = unsigned long long;
int main() {
  int N;
  cin >> N;
  string s;
  for (int i = 0; i < N; i++) s += 'a';
  char A = 'a';
  for (int i = 1; i <= N; i++) {
    for (int j = 1; j < N; j += 2) {
      s[j] = (char)(A + i);
    }
    cout << s << endl;
  }
  return 0;
}
