public static void Main()
int cols = int.Parse(Console.ReadLine());
int rows=int.Parse(Console.ReadLine());
int[,] matrix = new int[rows,cols];
for(int row = 0;row<rows;row++)
int[] rowArray = Console.ReadLine().Split().Select(int.Parse).ToArray();
for(int col = 0; col<cols;col++)
matrix[row,col] = rowArray[col];
for(int row = 0;row<rows;row++)
for(int col=0;col<cols;col++)
Console.Write("(0,5)",matrix[row,col]);
for(int col = 0;col<cols;col++)
int minElement = matrix[0,col];
for(int row = 1; row<rows;row++)
if(minElement>matrix[row,col])
minElement=matrix[row,col];
Console.Write("(o,5)",minElement);