N=int(input()) LIST=[] for i in range(1,10**6+1): if N%i==0: LIST.append(i) LIST.append(N//i) SET=set(LIST) ANS=set() for s in SET: ANS.add(str(s)+str(N//s)) ANS.add(str(N//s)+str(s)) print(len(ANS))