import java.util.Scanner; public class AbsuluteDiference { public static void main(String arg[]) { Scanner scanner=new Scanner(System.in); int n=scanner.nextInt(); int arr[]=new int[n]; for(int p=0;p