@@ -0,0 +1,844 @@
+    import java.util.Scanner;%0A     %0A    public class Solution %7B%0A           %0A        public static void main(String%5B%5D args) %7B%0A            %0A        %09Scanner in=new Scanner(System.in);%0A            int%5B%5D tab=new int%5Bin.nextInt()%5D;%0A            for(int i=0;i%3Ctab.length;i++)%0A            %09tab%5Bi%5D=in.nextInt();%0A            %0A            int decrease=0;%0A          %0A            for(int i=0;i%3Ctab.length-1;i++)%0A            %7B  %0A            %09int j=i+1;%0A            %09while (tab%5Bj%5D%3Ctab%5Bi%5D)%0A            %09%7B   %0A            %09%09if ((tab%5Bi%5D-tab%5Bj%5D)%3Edecrease) decrease=tab%5Bi%5D-tab%5Bj%5D;%0A            %09%09if (j==tab.length-1) %7BSystem.out.println(-decrease);System.exit(0);%7D%0A            %09%09j++;%0A            %09%0A            %09%7D%0A            %7D%0A            %0A            System.out.println(-decrease);%0A                                                    %7D%0A                           %7D%0A

Create Solution.java