def divisorslist(n): divisors = [] i = 1 while i*i <= n: if n % i == 0: divisors.append(str(i)+str(n//i)) divisors.append(str(n//i)+str(i)) i += 1 return len(set(divisors)) print(divisorslist(int(input())))