100 atcoder#ABC114D. [ABC114D] 756

[ABC114D] 756

Score : 400400 points

Problem Statement

You are given an integer NN. Among the divisors of N!N! (=1×2×...×N)(= 1 \times 2 \times ... \times N), how many Shichi-Go numbers (literally "Seven-Five numbers") are there?

Here, a Shichi-Go number is a positive integer that has exactly 7575 divisors.

Note

When a positive integer AA divides a positive integer BB, AA is said to a divisor of BB. For example, 66 has four divisors: 1,2,31, 2, 3 and 66.

Constraints

  • 1N1001 \leq N \leq 100
  • NN is an integer.

Input

Input is given from Standard Input in the following format:

NN

Output

Print the number of the Shichi-Go numbers that are divisors of N!N!.

9
0

There are no Shichi-Go numbers among the divisors of 9!=1×2×...×9=3628809! = 1 \times 2 \times ... \times 9 = 362880.

10
1

There is one Shichi-Go number among the divisors of 10!=362880010! = 3628800: 3240032400.

100
543