for i in range(1,8,2):
    print(('*'*i).center(7))
    if i ==7:
        for i in range(5,0,-2):
            print(('*' * i).center(7))