@@ -0,0 +1,970 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNextLine()) %7B%0A%0A            char%5B%5D line = sc.nextLine().toCharArray();%0A%0A            for (int i = 0; i %3C 26; i++) %7B%0A%0A                char%5B%5D decryptionChArry = new char%5Bline.length%5D;%0A%0A                for (int j = 0; j %3C line.length; j++) %7B%0A%0A                    char ch = line%5Bj%5D;%0A%0A                    if (ch != ' ' && ch != '.') %7B%0A                        ch = (char) ((ch - 'a' + i) %25 26 + 'a');%0A                    %7D%0A%0A                    decryptionChArry%5Bj%5D = ch;%0A%0A                %7D%0A%0A                String decryption = new String(decryptionChArry);%0A%0A                if (decryption.indexOf(%22the%22) != -1 %7C%7C decryption.indexOf(%22this%22) != -1 %7C%7C decryption.indexOf(%22that%22) != -1) %7B%0A                    System.out.println(decryption);%0A                    break;%0A                %7D%0A%0A            %7D%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0017