import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.TreeSet; public class Main { public static void main(String[] args) { new Main().run(); } final long MOD=(long)1e9+7; void run() { FastScanner sc=new FastScanner(); int N=sc.nextInt(); long[][] A=new long[N][N]; for (int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }