#include <stdio.h>
#include <math.h>

int main(void){
  int N,i=2,j,k,count;
  scanf("%d",&N);
  
  if(N%2==0){
    while(N%2==0){
      N /= i;
      i *= i;
      count++;
    }
  }
  for(j=3; j<=N; j++){
    k = j
    while(N%j==0){
      N /= k;
      k *= k;
      count++;
    }
  }
  return 0;
}
      
      
      
    