Fact of Factorial

1

1 votes
Easy-Medium
Problem

Mr. M is now promoted to a senior position and he wants your help. Mr. M is playing with number n. He wants to count how many divisors of factorial of that number has. Help him in counting this.

Constrains
1<=n<=120
Input
Number n.
Output
Count divisors of factorial of that number n.

Setter: Pinal Baldha

Time Limit: 1
Memory Limit: 256
Source Limit:
Explanation

Given number is 4.
4!=24.
Divisors of 24 are 1, 2, 3, 4, 6, 8, 12 and 24.
So answer is 8.

Editor Image

?