package yukicoder; 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); int cnt = 0, result; for(int i = 1; i <= rootN; i++) { if(n % i == 0) cnt++; } result = 2 * cnt; if(n % rootN == 0) result--; System.out.println(result); } }