Problem D. LCM

时间限制 1000 ms   内存限制 256 MB

Ivan has number $$$b$$$. He is sorting through the numbers $$$a$$$ from $$$1$$$ to $$$10^{18}$$$, and for every $$$a$$$ writes $$$\frac{[a, \,\, b]}{a}$$$ on blackboard. Here $$$[a, \,\, b]$$$ stands for least common multiple of $$$a$$$ and $$$b$$$. 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.

输入数据

The only line contains one integer — $$$b$$$ $$$(1 \le b \le 10^{10})$$$.

输出数据

Print one number — answer for the problem.

样例

提交

请先 登录

© 2025 FAQs Contact About