n = int(input())
for i in range(n):
    print('*' * (2 * (n - i) - 1))
    print(' ' * (i + 1), end='')

d592ee9fcacd78adb252ff18c64744a02967da29
<mask token>

<mask token>
for i in range(n):
    print('*' * (2 * (n - i) - 1))
    print(' ' * (i + 1), end='')

n = int(input())
for i in range(n):
    print('*' * (2 * (n - i) - 1))
    print(' ' * (i + 1), end='')
