N = int(input()) st = set() for i in range(1, N + 1): st.add(N // i) print(len(st))