import sys readline=sys.stdin.readline write=sys.stdout.write from math import gcd as GCD import math N=int(readline()) ans=len({N//k for k in range(1,N+1)}) print(ans)