@@ -0,0 +1,545 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class NumberRotations %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner sc = new Scanner(System.in);%0A%09%09int num,fdig,digits,tempNum,sum = 0,m,n;%0A%09%09m = sc.nextInt();%0A%09%09n = (int)Math.pow(10, m);%0A%0A%09%09if(m%3E=2&&m%3C=100) %7B%0A%09%09%09for(int i=11;i%3Cn;i++) %7B%0A%09%09%09%09num = i;%0A%09%09%09%09tempNum = num;%0A%09%09%09%09digits = (int)Math.log10(num);%0A%09%09%09%09fdig = num%2510;%0A%09%09%09%09num = num/10;%0A%09%09%09%09num = fdig*(int)Math.pow(10, digits) + num;%0A%09%09%09%09if(num%25tempNum==0) %7B%0A%09%09%09%09%09sum+=i;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09System.out.println(sum);%0A%09%09%7D%0A%09%09sc.close();%0A%09%7D%0A%0A%7D%0A

Create NumberRotations.java