@@ -0,0 +1,804 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.text.*;%0Aimport java.math.*;%0Aimport java.util.regex.*;%0A%0Apublic class ArraysLeftRotation %7B%0A%0A    public static int%5B%5D arrayLeftRotation(int%5B%5D a, int n, int k) %7B%0A        int b%5B%5D=new int%5Bn%5D;%0A      for (int i=0;i%3Cn;i++) %7B%0A%09%09%09b%5Bi%5D=a%5B(i+k)%25n%5D;%0A%09%09%7D%0A        return b;%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int n = in.nextInt();%0A        int k = in.nextInt();%0A        int a%5B%5D = new int%5Bn%5D;%0A        for(int a_i=0; a_i %3C n; a_i++)%7B%0A            a%5Ba_i%5D = in.nextInt();%0A        %7D%0A      %0A        int%5B%5D output = new int%5Bn%5D;%0A        output = arrayLeftRotation(a, n, k);%0A        for(int i = 0; i %3C n; i++)%0A            System.out.print(output%5Bi%5D + %22 %22);%0A      %0A        System.out.println();%0A      %0A    %7D%0A%7D%0A

Create ArraysLeftRotation.java