n = int(input()) p = [] for i in range(1, n+1): for j in range(1, n+1): if i * j == n: p.append(str(i) + str(j)) print(len(p))