@@ -0,0 +1,494 @@
+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        int week = sc.nextInt();%0A        int debt = 100000;%0A        double interest = 1.05;%0A        int roundUp = 1000;%0A%0A        for (int i = 0; i %3C week; i++) %7B%0A%0A            debt *= interest;%0A%0A            if (debt %25 roundUp %3E 0) %7B%0A                debt += roundUp - (debt %25 roundUp);%0A            %7D%0A%0A        %7D%0A%0A        System.out.println(debt);%0A%0A    %7D%0A%0A%7D%0A

Create 0007