#include <bits/stdc++.h>
using ll = long long;
using ld = long double;
using namespace std;
const ll mod = 1e9 + 7;
const ll INF = 1LL << 40;
ll GCD(ll a, ll b) { return b ? GCD(b, a % b) : a; }
int main() {
  ll n;
  cin >> n;
  for (ll i = ll(0); i < ll(n); i++) cout << 'a';
  cout << "\n";
  for (ll i = ll(0); i < ll(n - 1); i++) {
    char p = 0x61;
    for (ll j = ll(0); j < ll(n - 1); j++) cout << 'a';
    cout << char(p + i + 1);
    cout << "\n";
  }
}
