N = int(input()) yakusu = [] for i in range(1, int(N ** 0.5) + 3): if N % i == 0: yakusu.append(i) if i != N // i: yakusu.append(N // i) X = set() for d in yakusu: X.add(str(d) + str(N // d)) print(len(X))