package test; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); long n = in.nextLong(); HashSet set = new HashSet<>(); for(int i = 1; i <= (int)Math.sqrt(n); i++){ if(n % i == 0){ set.add(String.valueOf(i) + String.valueOf(n / i)); set.add(String.valueOf(n / i) + String.valueOf(i)); } } System.out.println(set.size()); } }