N=int(input()) ans=set() for i in range(N): ans.add(N//(i+1)) print(len(ans))