package user_id; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class UserId02 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { long N = sc.nextLong(); Set X = new HashSet<>(); for(long i = 1; i <= Math.sqrt(N); i++) { if(N % i == 0) { X.add(i + "" + (N / i)); X.add((N / i) + "" + i); } } System.out.println(X.size()); } // sc.close(); } }