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