using System;
public class Program
{
public static void Main()
int n=int.Parse(Console.ReadLine());
int[,] mat = new int[n,n];
bool b=true;
for (int i=0;i<mat.GetLength(0);i++)
if (b==true)
for (int j=0;j<mat.GetLength(1);i++)
if ((i==j)||(i+j==mat.GetLength(0)-1))
if (mat[i,j]==1)
b=true;
else
b=false;
if (mat[i,j]==0)
}