package yukicoder; import java.util.HashSet; import java.util.Scanner; public class No537 { public static void main(String[] args) { long n = new Scanner(System.in).nextLong(); long rootN = (long)Math.pow(n, 0.5); HashSet hs = new HashSet<>(); for(int i = 1; i <= rootN; i++) { if(n % i == 0) { hs.add(i + "" + (n / i)); hs.add((n / i) + "" + i); } } System.out.println(hs.size()); } }