N=int(input())

S=set()
for i in range(1,N+1):
    S.add(N//i)
print(len(S))