// NURUL LIYANA BT MOHD YUSOF
// A19EC0144
#include <iostream>
using namespace std;

int main()
{
	for(int r=1; r<=11; r++)    // r represent for rows and there is 11 rows in total
	{
		for(int c=1; c<=7; c++)  // c represent for column and there is 7 columns in total
		{
			if( r==1 || c==1 || r==11 || c==7)   //  For 1st rows & column, 11th row and 7th column
		 	   cout << "*";                      // star were printed
			else if (r==3&&c==4 || r==5&&c==4 || r==7&&c==4 || r==9&&c==4) //  It is for 4 star inside the rectangle
			   cout << "*";                                               
			else
			   cout << " ";
		}
		cout << endl;
	}
	return 0;
}
