You are given an integer N. Among the divisors of 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 75 divisors.

Constraints

* 1 \leq N \leq 100
* N is an integer.

Input

Input is given from Standard Input in the following format:


N


Output

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

Examples

Input

9


Output

0


Input

10


Output

1


Input

100


Output

543
n=int(input())
c=0
r=0
for i in range(1,8):
    r+=n//(2**i)
if r>=74:
    c+=1
d=2
q=0
p=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]
e=0
f=0
a=0
h=0
for j in range(15):
    q=0
    for i in range(1,7):
        q+=n//(p[j]**i)
    if q>=24:
        e+=1
        f+=1
        a+=1
        h+=1
    elif q>=14:
        f+=1
        a+=1
        h+=1
    elif q>=4:
        h+=1
        a+=1
    elif q>=2:
        h+=1
c+=e*(h-1)+f*(a-1)+(a*(a-1)//2)*(h-2)
print(c)