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