N = int(input()) print(len({N // k for k in range(1, N + 1)}))