R = 1
n = (int(input("Enter a number: ")))
while R < n:
    print("*" * R)
    R += 1
while R >= 0:
    print("*" * R)
    R -= 1