#include <bits/stdc++.h>
int main() {
  int n, i = 0, j;
  char s[10];
  scanf("%d", &n);
  while (i < n) {
    for (j = 0; j < n - i; j++) printf("a");
    for (j = n - i; j < n; j++) printf("b");
    printf("\n");
    i++;
  }
}
