CF BUDDY
← Problems·

1068B · LCM

1200 · math, number theory

Problem: Ivan has number bb. He is sorting through the numbers aa from 11 to 101810^{18}, and for every aa writes [a,b]a\frac{[a, \,\, b]}{a} on blackboard. Here [a,b][a, \,\, b] stands for least common multiple of aa and bb. Ivan is very lazy, that's why this task bored him soon. But he is interested in how many different numbers he would write on the board if he would finish the task. Help him to find the quantity of different numbers he would write on the board.

Input Format: The only line contains one integer — bb (1b1010)(1 \le b \le 10^{10}).

Output Format: Print one number — answer for the problem.

Note: In the first example [a,1]=a[a, \,\, 1] = a, therefore [a,b]a\frac{[a, \,\, b]}{a} is always equal to 11.

In the second example [a,2][a, \,\, 2] can be equal to aa or 2a2 \cdot a depending on parity of aa. [a,b]a\frac{[a, \,\, b]}{a} can be equal to 11 and 22.

Sample Cases

Case 1

Input

1

Output

1

Case 2

Input

2

Output

2

Similar problems

00:00:00
Loading editor…
Welcome! I'm your coding tutor for this problem. Use the chips below to reveal stored hints or get AI feedback on your code. I'll guide you step by step — never giving away the solution.

Sign in to unlock AI tutor feedback