#include using lint = long long; void solve() { lint n; std::cin >> n; int ans = 0; for (lint p = 1; p * p <= n; ++p) { if (n % p != 0) continue; ++ans; if (n / p <= p) continue; ++ans; } std::cout << ans << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }