n = int(input()) s = set() for i in range(n): s.add(n//(i+1)) print(len(s))