import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; public class Main { public static long MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); final long N = sc.nextLong(); long answer = 0; for(long i = 1; i * i <= N; i++){ if(N % i != 0){ continue; } if(i * i == N){ answer += 1; }else{ answer += 2; } } System.out.println(answer); } }