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