#include #include using namespace std; int main(){ int n; cin >> n; long long ans = 0; double x = sqrt(n); for(int i = 1; i <= x; i++){ if(n%i == 0) ans += 2; } if(ceil(x) == floor(x)) ans--; cout << ans << endl; return 0; }