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