N=int(input()) s={1} for i in range(1,N): s.add(N//i) print(len(s))