def main():

    n = int(eval(input()))

    ans = 0



    fac = 2

    e = 1

    while True:

        div = pow(fac, e)

        if n % div == 0:

            n //= div

            ans += 1

            e += 1

        else:

            while n % fac == 0:

                n //= fac

            fac += 1

            if fac * fac > n:

                break

            e = 1

    if n != 1:

        ans += 1



    print(ans)





if __name__ == '__main__':

    main()

def main():

    n = int(eval(input()))

    ans = 0



    fac = 2

    e = 1

    while True:

        div = pow(fac, e)

        if n % div == 0:

            n //= div

            ans += 1

            e += 1

        else:

            while n % fac == 0:

                n //= fac

            if fac == 2:

                fac += 1

            else:

                fac += 2

            if fac * fac > n:

                break

            e = 1

    if n != 1:

        ans += 1



    print(ans)





if __name__ == '__main__':

    main()

def main():
    n = int(eval(input()))
    ans = 0
    fac = 2
    e = 1
    while True:
        div = pow(fac, e)
        if n % div == 0:
            n //= div
            ans += 1
            e += 1
        else:
            while n % fac == 0:
                n //= fac
            fac += 1
            if fac * fac > n:
                break
            e = 1
    if n != 1:
        ans += 1
    print(ans)


if __name__ == "__main__":
    main()

def main():
    n = int(eval(input()))
    ans = 0
    fac = 2
    e = 1
    while True:
        div = pow(fac, e)
        if n % div == 0:
            n //= div
            ans += 1
            e += 1
        else:
            while n % fac == 0:
                n //= fac
            if fac == 2:
                fac += 1
            else:
                fac += 2
            if fac * fac > n:
                break
            e = 1
    if n != 1:
        ans += 1
    print(ans)


if __name__ == "__main__":
    main()

-            fac += 1 +            if fac == 2: +                fac += 1 +            else: +                fac += 2