N = int(input()) sqrt = int(N ** 0.5) S = set() for i in range(1, sqrt + 1): q, r = divmod(N, i) if r == 0: S.add(f"{i}{q}") S.add(f"{q}{i}") print(len(S))