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