N = int(input()) L = [] for i in range(1, N+1): L += [N//i] L = set(L) print(len(L))