#include<iostream>
using namespace std;
typedef long long LL;
LL x;
int nums;
int main()
{
cin>>x;
for(LL i = 2;i * i <= x ;i++)
{
if(x % i == 0)
{
while(x % i == 0)
{
x /= i;
}
nums++;
}
}
if(x > 1) nums++;
cout<<nums<<endl;
}