def fenge(i, j): if i == j&nbs***bsp;i + j == N-1&nbs***bsp;N % 2 != 0 and int(N/2)== i&nbs***bsp;N % 2 != 0 and int(N/2)== j: return True return False N = int(input()) matric = [[0 for col in range(N)] for row in range(N)] row_start = 0 row_end = N - 1 col_start = 0 col_...