#include<stdio.h>
int main(){
  int i,j,k,a=0;
  long int n;
  scanf("%ld",&n);
  if(n==1){printf("0\n");return 0;}
  for(i=2;i*i<n;i++){for(j=0;n%i==0;j++)n/=i;for(k=0;k*(k+1)/2<=j;k++)a++;}
  printf("%d\n",a+1);
}
