@@ -0,0 +1,1287 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class Solution %7B%0A    private static final int ENG_LET = 26;%0A%0A    public static void main(String%5B%5D args) %7B%0A        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */%0A        Scanner in = new Scanner(System.in);%0A        %0A        int len = in.nextInt();%0A        String str = in.next();%0A        int k = in.nextInt();%0A        %0A        StringBuilder sb = new StringBuilder();%0A        char ch;%0A        for (int i = 0; i %3C len; i++) %7B%0A            ch = str.charAt(i);%0A            %0A            if (isChar(ch)) %7B%0A                sb.append(rotate(ch, k));%0A            %7D else %7B%0A                sb.append(ch);%0A            %7D%0A        %7D%0A        %0A        System.out.println(sb.toString());%0A    %7D%0A    %0A    private static boolean isChar(char ch) %7B%0A        return (ch %3E= 'a' && ch %3C= 'z') %7C%7C (ch %3E= 'A' && ch %3C= 'Z');%0A    %7D%0A    %0A    private static char rotate(char ch, int k) %7B%0A        if (ch %3E= 'a' && ch %3C= 'z') %7B%0A            int temp = ch - 'a';%0A            temp += k;%0A            temp %25= ENG_LET;%0A            return (char) ('a' + temp);%0A        %7D else %7B%0A            int temp = ch - 'A';%0A            temp += k;%0A            temp %25= ENG_LET;%0A            return (char) ('A' + temp);%0A        %7D%0A    %7D%0A%7D%0A

Create CaesarCipher.java