n = int(eval(input()))

ans = 0

for a in range (1,n):

    for b in range(a, n, a):

        ans += 1

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

ans = 0

for a in range (1,n):

    for b in range(1, n):

        if n <= a * b:

            break

        ans += 1

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

n = int(eval(input()))
ans = 0
for a in range(1, n):
    for b in range(1, n):
        if n <= a * b:
            break
        ans += 1
print(ans)

-    for b in range(a, n, a): +    for b in range(1, n): +        if n <= a * b: +            break