#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j;
  char ch = 'a';
  cin >> n;
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= n; j++) {
      cout << ch;
    }
    cout << endl;
    ch = ch + 1;
  }
}
