using System;
using System.Numerics;
public class Program
{
public static void Main()
int n = int.Parse(Console.ReadLine());;
int width = n * 2 + 1;
int height = (6 + ((n - 3) / 2) * 3);
int[,] diamondTroll = new int[height, width];
int curCol = 0;
int curRow = n / 2 + 1;
while (curRow >= 0)
diamondTroll[curRow, curCol] = 1;
curCol++;
curRow--;
}
curRow++;
curCol--;
for (int i = 0; i < n - 1; i++)
while (curCol < width)
while (curRow < height)
while (curCol > 0)
for (curCol = 0; curCol < width; curCol++)
curCol = width / 2;
for (curRow = 0; curRow < height; curRow++)
PrintMatrix(diamondTroll);
static void PrintMatrix(int[,] matrix)
for (int rows = 0; rows < matrix.GetLength(0) ; rows++)
for (int cols = 0; cols < matrix.GetLength(1); cols++)
if (matrix[rows, cols] == 0)
Console.Write(".");
else
Console.Write("*");
Console.WriteLine();