n = int(input()) ans = set() for i in range(1, int(n**0.5)+1): if n % i == 0: ans.add(str(i) + str(n//i)) ans.add(str(n//i) + str(i)) print(len(ans))