public static void Main()
int n = int.Parse(Console.ReadLine());;
int height = (6 + ((n - 3) / 2) * 3);
int[,] diamondTroll = new int[height, width];
diamondTroll[curRow, curCol] = 1;
for (int i = 0; i < n - 1; i++)
diamondTroll[curRow, curCol] = 1;
diamondTroll[curRow, curCol] = 1;
diamondTroll[curRow, curCol] = 1;
diamondTroll[curRow, curCol] = 1;
for (curCol = 0; curCol < width; curCol++)
diamondTroll[curRow, curCol] = 1;
for (curRow = 0; curRow < height; curRow++)
diamondTroll[curRow, curCol] = 1;
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)