import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] a) { Scanner s = new Scanner(System.in); int N=s.nextInt(),i=0,d,m=Integer.MAX_VALUE; int[] X=new int[N]; for(;i