n=int(input()) s=set() for i in range(1,int(n**.5+1)): if (n%i)<1: s.add(str(i)+str(n//i)) s.add(str(n//i)+str(i)) print(len(s))