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