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