#include <bits/stdc++.h>   using namespace std;   int main() {     long long n, c = 0;     cin >> n;     for (long long i = 1; i < n; ++i) {       if (n % i == 0) c++;     }     cout << c << endl;     return 0;   }   