Ordered Pairs

Count the ordered pairs of natural numbers whose product equals a given N.

Easy3MathNumber theoryBrute forceImplementationInterviewNo attempts yetTime limit0.5sMemory limit512 MB

Problem

An ordered pair is written as (a,b)(a, b). Two ordered pairs (a1,b1)(a_1, b_1) and (a2,b2)(a_2, b_2) are equal when a1=a2a_1 = a_2 and b1=b2b_1 = b_2.

Given a natural number NN, write a program that counts the distinct ordered pairs (a,b)(a, b) whose product a×ba \times b equals NN. Both aa and bb must be natural numbers.

Input

The first line contains a natural number NN (1N1,000,000,0001 \le N \le 1{,}000{,}000{,}000).

Output

Print the number of distinct ordered pairs whose product equals NN on the first line.