#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define WDSIZE 10000000
typedef long long ll;
#define BUFSIZE 1000000000000

ll n;
int count = 0;
int divisor[WDSIZE] = {0};



int used_check(ll b){
  for(int i = 0;i < BUFSIZE; i++){
    if(divisor[i] == 0) break;
    if(divisor[i] == b) return 1;
  }
  return 0;
}


int prime(ll num){
  if(num == 1) return 1;
  for(ll i = 2;i <= sqrt(num);i++){
    if(num % i == 0){
      return 1;
    }
  }
    return 0; //素数なら０を返す
}

int rem;

int conform_check(ll given){
  for(ll i = 2;i <= sqrt(given);i++){
    if(given % i == 0 && prime(i) == 0){
       rem = i;
       break;
     }
  }
  int rem4; //べき乗結果のキャスト
  for(ll i = 2;i < BUFSIZE;i++){
    if(rem4 > given) break;
    double rem3 = pow(rem,i);
    rem4 = (int)rem3;
    if(given == rem4)  return 1;  //適合したら１を返す
  }
  return 0;
}

int flag_fin;

int fact(ll a){
  for(ll i = 2;i <= a;i++){
    if(a % i == 0){
      if(used_check(i) == 1) continue; //使われてない確認
      else if(prime(i) == 0 || conform_check(i) == 1){
        divisor[count] = i;
        count++;
        return 0;
      }
    }
  }
  flag_fin = 1;
  return 0;
}


int cal(ll given_number){
  fact(given_number);
  if(divisor[count - 1] == 0 || prime(given_number) == 0 || flag_fin == 1) return 0;
  cal(given_number/divisor[count - 1]);
}


int main(void){
  scanf("%lld",&n);
  if(prime(n) == 0){
    printf("1");
    exit(0);
  }
  cal(n);

  printf("%d",count);

  return 0;
}
