from math import gcd
def lcm(a, b):
return a * b // gcd(a, b)
x = int(input())
divs = []
i = 1
while i**2 <= x:
if x % i == 0:
divs.append(i)
if i**2 < x:
divs.append(x // i)
i += 1
ans = 0
for a in divs:
for b in divs:
if x == lcm(a, b):
ans += 1
print(ans)