n = int(input()) divisor = [i for i in range(1, int(n**0.5) + 1) if n % i == 0] conbi = set() for z in divisor: conbi.add("{}{}".format(z, n//z)) conbi.add("{}{}".format(n//z, z)) print(len(conbi))