#define _CRT_SECURE_NO_WARNINGS
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream>
#include <random>
#include <map>
#include <fstream>
#include <iomanip>
#include <time.h>
#include <stdlib.h>
#include <list>
#include <typeinfo>
#include <list>
#include <set>
#include <assert.h>
#include <complex>
using namespace std;
#define LONG_INF 10000000000000
#define GOLD 1.61803398874989484820458
#define MAX_MOD 1000000007
#define MOD 998244353LL
#define seg_size 65536*4
#define REP(i,n) for(long long i = 0;i < n;++i)
int main() {
#define int long long
	long long n;
	cin >> n;
	vector<long long> division;
	for (long long i = 2; i <= sqrt(n); ++i) {
		long long cnt = 0;
		while (n % i == 0) {
			cnt++;
			n /= i;
		}
		if (cnt != 0) {
			division.push_back(cnt);
		}
	}
	if (n != 1) {
		division.push_back(1);
	}
	int minnest = division.size();
	int ans = 1;
	REP(i, division.size()) {
		ans *= (division[i]+1LL);
	}
	ans--;
	cout << minnest << " " << ans << endl;
	return 0;
}
