#include <bits/stdc++.h>
using namespace std;
long long b, ans = 1;
int main() {
  cin >> b;
  long long lim = sqrt(b + 0.5) + 1;
  for (long long i = 2; i <= lim && b != 1; ++i)
    if (b % i == 0) {
      int cnt = 1;
      while (b % i == 0) cnt++, b /= i;
      ans *= cnt;
    }
  if (b != 1) ans *= 2;
  cout << ans << endl;
  return 0;
}
