n = int(input()) sn = int(n**0.5+0.00001) ret = 0 for i in range(1, sn+1): ret += n % i == 0 print(2 * ret - (n == sn * sn))