const input = require("fs").readFileSync("/dev/stdin", "utf8")

const lines = input.split('\n')
let N = lines[0].trim() - 0

const fact = (n) => {
    const res = []
    let i = 2
    while (n > 1 && i * i <= n ) {
        if (n % i === 0) {
            res.push(i)
            n /= i
        } else {
            i++
        }
    }
    if (n > 1) {
        res.push(n)
    }
    return res
}

let count = 0

for (let i = 1; i < N - 1; i++) {
    const f = fact(N - i)
    const m = {}
    for (let j = 0; j < f.length; j++) {
        if (m[f[j]]) {
            m[f[j]]++
        } else {
            m[f[j]] = 1
        }
        m[f[j]] = m[f[j]] ? m[f[j]]++ : 1
    }
    let c = 1
    for (var key in m) {
        if (m[key] === 1) {
            c *= 2
        } else {
            c *= m[key] + 1
        }
    }
    count += c
}

console.log(count + 1)
