#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
const int INF = 1e9;
const long long mod = 1000000007;
using Graph = vector<vector<int>>;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  string s;
  for (int i = 1; i < n; ++i) {
    s += 'a';
  }
  string abc = "abcdefghijklmnopqrstuvwxyz";
  for (int i = 0; i < n; ++i) {
    cout << s + abc[i] << "\n";
  }
}
