n= int(input()) dem=2 def uoc(x): d=2 for i in range(2, x//2+1): if x%i==0: d+=1 return d print(uoc(n))