import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Test{ public static void main(String[] args) throws IOException{ BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(buf.readLine()); String[] s = buf.readLine().split(" "); int X[] = new int[N]; X[0]=Integer.parseInt(s[0]); for(int i=1;i0;j--) { if(X[j-1]>X[j]) { int temp=X[j]; X[j]=X[j-1]; X[j-1]=temp; } } } int min=1000000; for(int i=1;i