#include<iostream>
using namespace std;
void Print() {
for(int i='A';i<='Z';i++) {
int k='Z';
int p='B';
int count1=26;
int count2=25;
while(count1>0){
if(k>i) {
cout<<" ";
} else {
cout<<(char)k;
}
k--;
count1--;
}
while(count2>0){
if(p>i) {
cout<<" ";
} else {
cout<<(char)p;
}
p++;
count2--;
}
cout<<endl;
}
}
int main() {
Print();
return 0;
}