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