N=int(input()) print(len(set([N//i for i in range(1,N+1)])))