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