#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c=65,p=-1; cin>>a; for(int i=1;i<=a;i++){ if(i!=1) c=p+1; for(int j=1;j<=a;j++){ if(j==1) p=c; cout<<char(c); c++; if(c==91) c=65; } cout<<endl; } return 0; }