from math import *
def smallest_divisor(n):
for i in range(2, ceil(n) + 1):
if i < n and n % i == 0:
return i
return -1
num = int(input())
res = 1
while smallest_divisor(num) > 1:
x = smallest_divisor(num)
res += 1
num /= x
print(res + 1)