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 * i <= N; i++) { if(N % i == 0) { String s = ""; s += i; s += (N / i); set.add(s); String t = ""; t += (N / i); t += i; set.add(t); } } System.out.println(set.size()); } }