n = int(input()) ls = [] for i in range(n): if n % (i+1) == 0: x = str(i+1)+str(n//(i+1)) ls.append(x) print(len(set(ls)))