#include<stdio.h>

int main() {
	long long n;
	int ans = 0;
	scanf("%lld", &n);
	for (int i=2;i*i<=n;i++){
		int count = 0,pow=i;
		while (n % pow == 0) {
			count++;
			n /= pow;
			pow *= i;
		}
		ans += count;
	}
	if (n != 1) ans++;
	printf("%d", ans);

	return 0;
}