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

912d2e7f14d23bbdcf7b3a02a18ab7ec7c2b0f98
<mask token>

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

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