fun main(args: Array<String>) {
    val N = readLine()!!.toInt()
    val d = Array(N + 1) { 0 }

    for (i in 1 .. N) {
        var m = i
        for (j in 2 .. i) {
            while(m % j == 0) {
                m /= j
                d[j]++
            }
        }
    }

    val M = 75
    val dp = Array(M + 1) { 0L }
    dp[1] = 1L

    for (i in 1..N) {
        if (d[i] == 0) continue
        for (j in M downTo 1) {
            for (k in 1..d[i]) {
                if (j * (k + 1) <= M) {
                    dp[j * (k + 1)] += dp[j]
                }
            }
        }
    }

    println(dp[75])
}
