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