import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); String str = s.next(); s.close(); long n = Long.parseLong(str); long count = 0; double sqrt = Math.sqrt((double)n); long heihou = (long) Math.floor(Math.sqrt((double)n)); if(sqrt==(double)heihou){ count--; } for(long i= 1;i<=heihou;i++){ if(n%i==0){ count++; count++; } } System.out.println(count); } }