import math N = int(input()) count = 0 r = math.sqrt(N) r = int(r) s = set([]) for i in range(1, r + 1): if N % i == 0: s.add(str(i)+str(N // i)) s.add(str(N // i) + str(i)) print(len(s))