#include<iostream>
#include<math.h>
using namespace std;
bool OnTriangle(int core_x,int core_y,int x,int y)
{
int tmp=abs(x-core_x);
if((tmp==1||tmp==3)&&core_y==y||(tmp+core_y-y)==3)
return true;
else
return false;
}
//六个关键点:(7,3)(23,3)(3,7) (11,7) (19,7) (27,7)
int main()
{
for(int y=0;y<=7;y++)
{
for(int x=0;x<=31;x++)
if(OnTriangle(7,3,x,y)||OnTriangle(23,3,x,y)||OnTriangle(3,7,x,y)
||OnTriangle(11,7,x,y)||OnTriangle(19,7,x,y)
||OnTriangle(27,7,x,y))
cout<<"*";
else
cout<<" ";
cout<<endl;
}
return 0;
}