import java.util.*; import java.io.*; public class Main{ static final Reader sc = new Reader(); static final PrintWriter out = new PrintWriter(System.out,false); public static void main(String[] args) throws Exception { int n = sc.nextInt(); int m = sc.nextInt(); int[][] score = new int[n][n]; for(int i=0;i list = new LinkedList(); for(int i=0;ik){ counter += score[x][i]; } } if(count