import java.lang.ArithmeticException

fun str() = readLine()!!
fun int() = str().toInt()
fun long() = str().toLong()

fun read(d:String = " ") = str().split(d)
fun <T> list(d:String = " ",f:String.()->T) = read(d).map {f(it)}
fun list() = list {toInt()}.toIntArray()

fun <T> T.print() = this.also(::println)

fun main() {
	abc000X()
}

fun abc000X() {
	var n = long()
	var r = 0L

	for(i in 2L..1000000) {
		var j = i
		while(n%j==0L) {
			++r
			n /= j
			j *= i
		}
		while(n%i==0L)
			n /= i
	}

	if(n>2)
		++r

	println(r)
}
