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