@@ -0,0 +1,881 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */%0A        Scanner in = new Scanner(System.in);%0A        %0A        int tests = in.nextInt();%0A        long n;%0A        int res;%0A        for (int t = 0; t %3C tests; t++) %7B%0A            n = in.nextLong();%0A            res = getDivDigits(n);%0A            System.out.println(res);%0A        %7D%0A    %7D%0A    %0A    private static int getDivDigits(long n) %7B%0A        int count = 0;%0A        long original = n;%0A        %0A        int digit;%0A        while (n != 0) %7B%0A            digit = (int) (n %25 10);%0A            if (digit != 0 && original %25 digit == 0) %7B%0A                count++;%0A            %7D%0A            %0A            n = n / 10;%0A        %7D%0A        %0A        return count;%0A    %7D%0A%7D%0A

Create FindDigits.java