# Author: Moksh Upadhyay
# Date: 21/03/2021
# Print the following patternrint 
# * * *
# *   *
# * * *
m= 3
n= 3
for i in range(1, m+1):
        for j in range(1, n+1):
            if(i == 1 or i == n or j==1 or j == m):
                print("*", end="")
            else:
                print(" ", end="")
        print()


    
