N = int(input()) A = [0] * (N+1) for i in range(1,N+1): A[N // i] += 1 count = 0 for i in A: if i: count += 1 print(count)