import java.io.FileNotFoundException; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) throws FileNotFoundException { long t = System.currentTimeMillis(); new Main().run(); System.err.println(System.currentTimeMillis() - t); } Scanner sc = new Scanner(System.in); void run() { int N=sc.nextInt(); int[] x=new int[N]; for(int i=0;i