for row in range(7):
    for col in range(7):
        if col==0 or ((row==0 or row==3) and col<5) or (row-col==1 and col>1) or (col==5 and (row==1 or row==2)):
            print("*",end="")
        else:
            print(end=" ")
    print()