#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;
int num(int n) {
int ans = 0;
for (int i = 1; i * i <= n; i ++)
if (n % i == 0) {
ans ++;
if (i != n / i) ans ++;
}
return ans;
}
int main() {
freopen("lancer.in", "r", stdin);
freopen("lancer.out", "w", stdout);
int n, ans = 0; scanf("%d", &n);
for (int i = 1; i * i <= n; i ++)
if (n % i == 0) {
ans += num(i);
if (i != n / i)
ans += num(n / i);
}
printf("%d\n", ans);
return 0;
}