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