#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int ch = 65;
for(int i = 0;i<n;i++)
{
for(int j = 0;j<n-1-1*i;j++)
{
cout<<" ";
}
for(int j = 0;j<1+i*2;j++)
{
cout<<(char)ch;
ch++;
}
cout<<endl;
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int s = 1,ch = s;
for(int i = 0;i<n;i++)
{
for(int j = 0;j<n-1-1*i;i++)
{
cout<<" ";
}
for(int j = 0;j<1+i*2;j++)
{
cout<<ch;
ch = ch+2;
}
cout<<endl;
s = s+2;
ch = s;
}
return 0;