@@ -0,0 +1,691 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.text.*;%0Aimport java.math.*;%0Aimport java.util.regex.*;%0A%0Apublic class BeautifulDaysAtTheMovies %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int i=in.nextInt(),j=in.nextInt(), k=in.nextInt(), counter=0;%0A        for (int x=i;x%3C=j;x++) %7B%0A            int revX=reverseNumber(x, 0);%0A            if (Math.abs(x-revX)%25k==0) %7B%0A                counter++;%0A            %7D%0A        %7D%0A        System.out.println(counter);%0A    %7D%0A    %0A    static int reverseNumber (int a, int sum) %7B%0A%09%09if (a%3E0) %7B%0A%09%09%09sum=sum+(a%2510);%0A%09%09%09if (a%3E9) %7B%0A%09%09%09%09a/=10;%0A%09%09%09%09return reverseNumber(a, sum*10);%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return sum;%0A%09%7D%0A%7D%0A

Create BeautifulDaysAtTheMovies.java