import numpy as np

n = int(eval(input()))

ans = np.zeros(n, dtype=np.int64)

for a in range(1,n):

    ans[a::a] += 1

print((ans.sum()))
n = int(eval(input()))

ans = 0

for a in range(1,n):

    ans += (n-1)//a

print(ans)
import numpy as np

n = int(eval(input()))
ans = np.zeros(n, dtype=np.int64)
for a in range(1, n):
    ans[a::a] += 1
print((ans.sum()))

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

-import numpy as np - -ans = np.zeros(n, dtype=np.int64) +ans = 0 -    ans[a::a] += 1 -print((ans.sum())) +    ans += (n - 1) // a +print(ans)