#include <iostream>
using namespace std;
int main()
{
    int x;   cin >> x;
    int karim = 2;
    int counter = 1;

    while ( x != 1 )
    {
        if ( x % karim == 0 )
        {
            x = x/ karim;
            counter ++;
        }

        else if ( x % karim != 0 )
        {
            karim ++;
        }
    }

    cout << counter;

    return 0;
}