<gh_stars>0
#z
row=0
while row<10:
    col =0
    while col<10:
        if (row==0) or (col+row==9) or (row==9):

            print("*",end=" ")
        else:
            print(" ",end=" ")
        col +=1
    row +=1
    print()

#z
row=0
while row<10:
    col =0
    while col<10:
        if (row==0) or (col+row==9) or (row==9):

            print("*",end=" ")
        else:
            print(" ",end=" ")
        col +=1
    row +=1
    print()