#include <bits/stdc++.h> using namespace std; int n,c; int main() { cin >> n; for (int i = 0; i < n; i++ ){ for (int j = 0; j < n; j++) { c = i % 26; cout << (char)(c + 'A'); } cout<<endl; } return 0; }