N = int(input()) s = set() for i in range(1, int(N**0.5)+1): if N%i==0: s.add(f"{i}{N//i}") s.add(f"{N//i}{i}") print(len(s))