import math

n = int(input())

counter = 1


def nextone(n):
    half = int(math.sqrt(n)) + 1
    for i in range(2, half):
        if n % i == 0:
            n = int(n / i)
            return n
    return 1


while n != 1:
    n = nextone(n)
    counter += 1

print(counter)