import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; public class Main { public static void main(String args[]) { FastScanner scanner = new FastScanner(); int n1=scanner.nextInt(); long[] a=new long[n1]; long pa=1; for(int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }