N=int(input()) d = {} for i in range(1,N+1): d[N//i] = 1 print (len(d))