Time

18:15:34
22 May 2012
Version for print

Dividers of number N!

   For a given natural number N is necessary to calculate the number of positive integers that are divisors N! (Factorial of N).

   For example, when N=4, N!=4·3·2·1=24. This number has such divisors: 1, 2, 3, 4, 6, 8, 12, 24. Thus the desired number is 8.


Specifications

   Input

   The input file contains one integer N (1N45).

   Output

   The output file should contain one integer - the number of divisors found.


Problem information

Time Limit: 1 seconds
Memory Limit: 64 MB
Balls for the passed test: 10
Complexity: 50% 187/376
Classes: Combinatorics

Example

Example input

4

Example output

8


← Number of zeroes at the end of N! Problems Olympiad →