//菱形,内藏十字架
#include<iostream>
using namespace std;
int main()
{
int i,j,k=0,l=0,t=0;
for(i=1;i<=10;i++)
{
for(j=1;j<=11-i;j++)
cout<<' ';
cout<<char('A'+k++);
for(j=2;j<=i;j++)
cout<<' ';
cout<<char('A'+t++);
for(j=2;j<=i;j++)
cout<<' ';
cout<<char('A'+l++);
cout<<endl;
}
for(i=0;i<=11;i++)
cout<<char('A'+i)<<' ';
cout<<endl;
for(i=0;i<=9;i++)
{
for(j=1;j<=i+1;j++)
cout<<' ';
cout<<char('A'+k++);
for(j=1;j<=9-i;j++)
cout<<' ';
cout<<char('A'+l++);
for(j=1;j<=9-i;j++)
cout<<' ';
cout<<char('A'+t++);
cout<<endl;
}
cout<<endl;
return 0;
}