import itertools

import math



N = int(input())

pn = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]

ans = []



for ar in itertools.permutations(pn,3):

    if math.factorial(N) > (ar[0]**2*ar[1]**4*ar[2]**4) and\

    math.factorial(N) % (ar[0]**2*ar[1]**4*ar[2]**4) == 0:

        ans.append(ar[0]**2*ar[1]**4*ar[2]**4)



for ar in itertools.permutations(pn,2):

    if math.factorial(N) > (ar[0]**4*ar[1]**14) and\

    math.factorial(N) % (ar[0]**4*ar[1]**14) == 0:

        ans.append(ar[0]**4*ar[1]**14)



for ar in itertools.permutations(pn,2):

    if math.factorial(N) > (ar[0]**2*ar[1]**24) and\

    math.factorial(N) % (ar[0]**2*ar[1]**24) == 0:

        ans.append(ar[0]**2*ar[1]**24)



for ar in pn:

    if math.factorial(N) > ar**74 and\

    math.factorial(N) % ar**74 == 0:

        ans.append(ar**74)



ans = set(ans)

print(len(ans))

import math



N = int(eval(input()))

pn = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]



C3 = 0

C5 = 0

C15 = 0

C25 = 0

C75 = 0



for i in pn:

    if math.factorial(N) % pow(i,2) == 0:

        C3 += 1

    if math.factorial(N) % pow(i,4) == 0:

        C5 += 1

    if math.factorial(N) % pow(i,14) == 0:

        C15 += 1

    if math.factorial(N) % pow(i,24) == 0:

        C25 += 1

    if math.factorial(N) % pow(i,74) == 0:

        C75 += 1



ans = (C3-2)*C5*(C5-1)//2 + (C5-1)*C15 + (C3-1)*C25 + C75 

print(ans)
import itertools
import math

N = int(input())
pn = [
    2,
    3,
    5,
    7,
    11,
    13,
    17,
    19,
    23,
    29,
    31,
    37,
    41,
    43,
    47,
    53,
    59,
    61,
    67,
    71,
    73,
    79,
    83,
    89,
    97,
]
ans = []
for ar in itertools.permutations(pn, 3):
    if (
        math.factorial(N) > (ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4)
        and math.factorial(N) % (ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4) == 0
    ):
        ans.append(ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4)
for ar in itertools.permutations(pn, 2):
    if (
        math.factorial(N) > (ar[0] ** 4 * ar[1] ** 14)
        and math.factorial(N) % (ar[0] ** 4 * ar[1] ** 14) == 0
    ):
        ans.append(ar[0] ** 4 * ar[1] ** 14)
for ar in itertools.permutations(pn, 2):
    if (
        math.factorial(N) > (ar[0] ** 2 * ar[1] ** 24)
        and math.factorial(N) % (ar[0] ** 2 * ar[1] ** 24) == 0
    ):
        ans.append(ar[0] ** 2 * ar[1] ** 24)
for ar in pn:
    if math.factorial(N) > ar**74 and math.factorial(N) % ar**74 == 0:
        ans.append(ar**74)
ans = set(ans)
print(len(ans))

import math

N = int(eval(input()))
pn = [
    2,
    3,
    5,
    7,
    11,
    13,
    17,
    19,
    23,
    29,
    31,
    37,
    41,
    43,
    47,
    53,
    59,
    61,
    67,
    71,
    73,
    79,
    83,
    89,
    97,
]
C3 = 0
C5 = 0
C15 = 0
C25 = 0
C75 = 0
for i in pn:
    if math.factorial(N) % pow(i, 2) == 0:
        C3 += 1
    if math.factorial(N) % pow(i, 4) == 0:
        C5 += 1
    if math.factorial(N) % pow(i, 14) == 0:
        C15 += 1
    if math.factorial(N) % pow(i, 24) == 0:
        C25 += 1
    if math.factorial(N) % pow(i, 74) == 0:
        C75 += 1
ans = (C3 - 2) * C5 * (C5 - 1) // 2 + (C5 - 1) * C15 + (C3 - 1) * C25 + C75
print(ans)

-import itertools -N = int(input()) +N = int(eval(input())) -ans = [] -for ar in itertools.permutations(pn, 3): -    if ( -        math.factorial(N) > (ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4) -        and math.factorial(N) % (ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4) == 0 -    ): -        ans.append(ar[0] ** 2 * ar[1] ** 4 * ar[2] ** 4) -for ar in itertools.permutations(pn, 2): -    if ( -        math.factorial(N) > (ar[0] ** 4 * ar[1] ** 14) -        and math.factorial(N) % (ar[0] ** 4 * ar[1] ** 14) == 0 -    ): -        ans.append(ar[0] ** 4 * ar[1] ** 14) -for ar in itertools.permutations(pn, 2): -    if ( -        math.factorial(N) > (ar[0] ** 2 * ar[1] ** 24) -        and math.factorial(N) % (ar[0] ** 2 * ar[1] ** 24) == 0 -    ): -        ans.append(ar[0] ** 2 * ar[1] ** 24) -for ar in pn: -    if math.factorial(N) > ar**74 and math.factorial(N) % ar**74 == 0: -        ans.append(ar**74) -ans = set(ans) -print(len(ans)) +C3 = 0 +C5 = 0 +C15 = 0 +C25 = 0 +C75 = 0 +for i in pn: +    if math.factorial(N) % pow(i, 2) == 0: +        C3 += 1 +    if math.factorial(N) % pow(i, 4) == 0: +        C5 += 1 +    if math.factorial(N) % pow(i, 14) == 0: +        C15 += 1 +    if math.factorial(N) % pow(i, 24) == 0: +        C25 += 1 +    if math.factorial(N) % pow(i, 74) == 0: +        C75 += 1 +ans = (C3 - 2) * C5 * (C5 - 1) // 2 + (C5 - 1) * C15 + (C3 - 1) * C25 + C75 +print(ans)