from numba import jit

N = int(eval(input()))



"""nを素因数分解"""

"""2以上の整数n => [(素因数, 指数), ...]の2次元リスト"""

@jit

def factorization(n):

    arr = []

    temp = n

    for i in range(2, int(n**0.5)+1):

        if temp%i == 0:

            cnt = 0

            while temp%i == 0:

                cnt += 1

                temp //= i

            arr.append((i, cnt))

    if temp != 1:

        arr.append((temp, 1))

    if arr == []:

        arr.append((n, 1))

    return arr



li = factorization(N)

ans = 0

for i in li:

    k = i[1]

    loop = 1

    while True:

        k -= loop

        if k>=0:

            ans += 1

        else:

            break

        loop += 1

if N==1:

    print((0))

else:

    print(ans)

        
from numba import jit

N = int(eval(input()))



"""nを素因数分解"""

"""2以上の整数n => [(素因数, 指数), ...]の2次元リスト"""



def factorization(n):

    arr = []

    temp = n

    for i in range(2, int(n**0.5)+1):

        if temp%i == 0:

            cnt = 0

            while temp%i == 0:

                cnt += 1

                temp //= i

            arr.append((i, cnt))

    if temp != 1:

        arr.append((temp, 1))

    if arr == []:

        arr.append((n, 1))

    return arr



li = factorization(N)

ans = 0

for i in li:

    k = i[1]

    loop = 1

    while True:

        k -= loop

        if k>=0:

            ans += 1

        else:

            break

        loop += 1

if N==1:

    print((0))

else:

    print(ans)

        
from numba import jit

N = int(eval(input()))
"""nを素因数分解"""
"""2以上の整数n => [(素因数, 指数), ...]の2次元リスト"""


@jit
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(n**0.5) + 1):
        if temp % i == 0:
            cnt = 0
            while temp % i == 0:
                cnt += 1
                temp //= i
            arr.append((i, cnt))
    if temp != 1:
        arr.append((temp, 1))
    if arr == []:
        arr.append((n, 1))
    return arr


li = factorization(N)
ans = 0
for i in li:
    k = i[1]
    loop = 1
    while True:
        k -= loop
        if k >= 0:
            ans += 1
        else:
            break
        loop += 1
if N == 1:
    print((0))
else:
    print(ans)

from numba import jit

N = int(eval(input()))
"""nを素因数分解"""
"""2以上の整数n => [(素因数, 指数), ...]の2次元リスト"""


def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(n**0.5) + 1):
        if temp % i == 0:
            cnt = 0
            while temp % i == 0:
                cnt += 1
                temp //= i
            arr.append((i, cnt))
    if temp != 1:
        arr.append((temp, 1))
    if arr == []:
        arr.append((n, 1))
    return arr


li = factorization(N)
ans = 0
for i in li:
    k = i[1]
    loop = 1
    while True:
        k -= loop
        if k >= 0:
            ans += 1
        else:
            break
        loop += 1
if N == 1:
    print((0))
else:
    print(ans)

-@jit