#include <stdio.h>
int find(long long num){
  long long int i=0,j=2,count=0;
  while(num%j==0){
    count++;
    num=num/j;
    j=j*2;
    //printf("%d %d %d\n", count , j, num);
  }
  for(long long int i=3;i<=num;i++){
    j=i;
    while(num%j==0){
      count++;
      num = num/j;
      j=j*i;
    //  printf("%d %d %d\n", count , j,num);
    }
  }
  return count;
}
int main(){
  long long int n,count;
  scanf("%lld", &n);
  count = find(n);
  printf("%lld", count);
  return 0;
}