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) { Scanner sc = new Scanner(System.in); //System.out.println("Enter n!"); int n = sc.nextInt(); int [] a = new int[n]; int [] b = new int[n]; for(int i=0; i < n; i++){ a[i] = sc.nextInt(); } int diff=Math.abs(a[0]-a[1]); Arrays.sort(a); //System.out.println("First difference is "+diff); for(int i=0;i