import math number = int(input()) hairetu = [] for i in range(number): amari = math.floor(number/(i+1)) hairetu.append(amari) print(len(list(set(hairetu))))