#include<stdio.h>
main()
{
char c;
scanf("%c",&c);
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=3-i;j++)
printf(" ");
for(j=1;j<=2*i-1;j++)
printf("%c",c);
printf("\n");
}
}
#include<stdio.h>
main()
{
char c;
scanf("%c",&c);
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=3-i;j++)
printf(" ");
for(j=1;j<=2*i-1;j++)
printf("%c",c);
printf("\n");
}
}