n = int(input()) empty = n - 1 stars = 1 for i in range(1, n + 1): print(" " * empty + "* " * stars) empty -= 1 stars += 1 high_down = n - 1 down_empty = 1 down_stars = n - 1 for j in range(1, high_down + 1): print(" " * down_empty + "* " * down_stars) down_empty += 1 down_stars -= 1