#include #include using namespace std; int main() { long n, half, cnt; cin >> n; half = (long)sqrt(n); cnt = 0; for (int i = 1; i <= half; i++) { if (n % i == 0) { if (n / i == i) { cnt++; } else { cnt = cnt + 2; } } } cout << cnt << endl; }