var N = Int(readLine()!)!
var p = 2
var ans = 0
while p * p < N {
    var z = p
    while N % z == 0 {
        ans += 1
        N /= z
        z *= p
    }
    while N % p == 0 {
        N /= p
    }
    p += 1
}
print(N > 1 ? ans + 1 : ans)
