#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long int t;
  long long int a;
  cin >> t;
  if (t == 1) {
    cout << 1 << endl;
    return;
  }
  if (t == 2) {
    cout << 2 << endl;
    return;
  }
  long long int p = t;
  long long int cur = 2, ans = 1, c = 0;
  long long int l = ceil(sqrt(t));
  while (p && cur <= l) {
    c = 0;
    if (p % cur == 0) {
      while (p % cur == 0 && p) {
        p = p / cur;
        c++;
      }
    }
    ans *= (c + 1);
    cur++;
  }
  if (ans == 1) {
    cout << 2 << endl;
  } else if (p != 1) {
    cout << ans * 2 << endl;
  } else
    cout << ans;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
