import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.NoSuchElementException; public class Main{ public static void main(String[] args) { new Main().run(); } // (S-x)^2-x^2=S^2-2Sx=S(S-x)-Sx void run() { FastScanner sc=new FastScanner(); int n=sc.nextInt(); int m=sc.nextInt(); int[][] A=new int[n][m]; long[] S=new long[m]; for (int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }