# -*- coding: utf-8 -*-

import collections

# factrize

def factorize(target_number):

    factor = 2

    factor_list = []

    while factor * factor <= target_number:

        while target_number % factor == 0:

            target_number //= factor

            factor_list.append(factor)

        factor = factor + 1

    if target_number > 1:

        factor_list.append(target_number)

    return factor_list



N = int(eval(input()))



fact_list = factorize(N)



fact_counter_dict = collections.Counter(fact_list)

ans = 0

for fact, freq in list(fact_counter_dict.items()):

    freq_copy = freq

    for i in range(1, freq + 1):

        freq_copy -= i

        if freq_copy < 0:

            break

        ans += 1

print(ans)
# -*- coding: utf-8 -*-

import collections

# factrize

def factorize(target_number):

    factor = 2

    factor_list = []

    while factor * factor <= target_number:

        while target_number % factor == 0:

            target_number //= factor

            factor_list.append(factor)

        factor += 1

    if target_number > 1:

        factor_list.append(target_number)

    return factor_list



N = int(eval(input()))



fact_list = factorize(N)



fact_counter_dict = collections.Counter(fact_list)

ans = 0

for fact, freq in list(fact_counter_dict.items()):

    freq_copy = freq

    for i in range(1, freq + 1):

        freq_copy -= i

        if freq_copy < 0:

            break

        ans += 1

print(ans)
# -*- coding: utf-8 -*-
import collections

# factrize
def factorize(target_number):
    factor = 2
    factor_list = []
    while factor * factor <= target_number:
        while target_number % factor == 0:
            target_number //= factor
            factor_list.append(factor)
        factor = factor + 1
    if target_number > 1:
        factor_list.append(target_number)
    return factor_list


N = int(eval(input()))
fact_list = factorize(N)
fact_counter_dict = collections.Counter(fact_list)
ans = 0
for fact, freq in list(fact_counter_dict.items()):
    freq_copy = freq
    for i in range(1, freq + 1):
        freq_copy -= i
        if freq_copy < 0:
            break
        ans += 1
print(ans)

# -*- coding: utf-8 -*-
import collections

# factrize
def factorize(target_number):
    factor = 2
    factor_list = []
    while factor * factor <= target_number:
        while target_number % factor == 0:
            target_number //= factor
            factor_list.append(factor)
        factor += 1
    if target_number > 1:
        factor_list.append(target_number)
    return factor_list


N = int(eval(input()))
fact_list = factorize(N)
fact_counter_dict = collections.Counter(fact_list)
ans = 0
for fact, freq in list(fact_counter_dict.items()):
    freq_copy = freq
    for i in range(1, freq + 1):
        freq_copy -= i
        if freq_copy < 0:
            break
        ans += 1
print(ans)

-        factor = factor + 1 +        factor += 1