package yukicoder; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long[] x1 = new long [1000000]; long[] x2 = new long [1000000]; int cnt = 0; for(long i = 1 ; ; i++){ if((n%i)==0){ long ans = n / i ; if(ans >= i){ x1[cnt] = ans; x2[cnt] = i; cnt++; }else{ break ; } } } int x = 0; for(int i = 0 ; i < cnt ; i++){ if(x1[i] == x2[i]){ x++; }else{ x+=2; } } System.out.println(x); } }