#include <stdio.h>
void main(){
//树顶
int topHigh = 4;
for(int i=1;i<=topHigh;i++){
for(int j=1;j<=topHigh-i;j++){
printf(" ");
}
int tt = 1+2*(i-1);
for(int t=1;t<=tt;t++){
if(t==tt){
printf("*\n");
break;
}
printf("*");
}
}
//树干
int high = 2;
int left = 3;
for(int k=1;k<=high;k++){
for(int kk=1;kk<=left;kk++){
printf(" ");
}
if(k==high){
printf("*");
break;
}
printf("*\n");
}
}