ball = int(input())
bounces = 1
shots = iter(range(round(ball / 2), 0, -1))
while ball > 1:
shot = next(shots)
if not bool(ball % shot):
bounces += 1
ball = shot
shots = iter(range(round(ball / 2), 0, -1))
print(bounces)