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