import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { static int[][] score; static int N; static int[] num; static boolean[] check; static int max; public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); try { String[] temps = stdReader.readLine().split(" "); N = Integer.parseInt(temps[0]); int m = Integer.parseInt(temps[1]); score = new int[N][N]; for(int i=0;i