@@ -0,0 +1,452 @@
+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.hasNext()) %7B%0A%0A            String input = sc.nextLine();%0A%0A            String replaced = input.replace(%22apple%22, %22*%22);%0A            replaced = replaced.replace(%22peach%22, %22apple%22);%0A            replaced = replaced.replace(%22*%22, %22peach%22);%0A%0A            System.out.println(replaced);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0050