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