Define as the number of factors of a positive integer . Given an integer , determine .
Input Specification
The only line contains an integer, .
Output Specification
Output the value of .
Sample Input
5
Sample Output
10
Explanation for Sample
has factor: .
has factors: and .
has factors: and .
has factors: , , and .
has factors: and .
Comments
TLE with haskell :(
Haskell lazy evaluation isn't magic, directly factoring each of the numbers must take at least operations and will always be too slow.