#include<stdio.h>

int main(){
  int n,i,j;
  char res[10][10];
  char s[10] = "abcdefghij";
  scanf("%d", &n);
  
  for(i=0;i<n;i++){
    for(j=0;j<n;j++){
      if(i <= j){
        res[i][j] = s[i];
      } else {
        res[i][j] = s[j];
      }      
    }
    printf("%s¥n", res[i]);
  }
}