def num_divisors_table(n):

    table = [0] * (n + 1)

    

    for i in range(1, n + 1):

        for j in range(i, n + 1, i):

            table[j] += 1

    

    return table

n=int(eval(input()))

print((sum(num_divisors_table(n-1))))

n=int(eval(input()))

ans=0

for i in range(1,n):

  ans+=(n-1)//i

print(ans)
def num_divisors_table(n):
    table = [0] * (n + 1)
    for i in range(1, n + 1):
        for j in range(i, n + 1, i):
            table[j] += 1
    return table


n = int(eval(input()))
print((sum(num_divisors_table(n - 1))))

n = int(eval(input()))
ans = 0
for i in range(1, n):
    ans += (n - 1) // i
print(ans)

-def num_divisors_table(n): -    table = [0] * (n + 1) -    for i in range(1, n + 1): -        for j in range(i, n + 1, i): -            table[j] += 1 -    return table - - -print((sum(num_divisors_table(n - 1)))) +ans = 0 +for i in range(1, n): +    ans += (n - 1) // i +print(ans)