import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(in.readLine()); StringTokenizer st = new StringTokenizer(in.readLine()); int[] a = new int[n]; for(int a_i=0; a_i < n; a_i++){ a[a_i] = Integer.parseInt(st.nextToken()); } Arrays.sort(a); int least=1000000001; for(int i=0; i < n-1; i++){ if(a[i+1]-a[i]