#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int64_t N; cin >> N; int res = 0; for (int i = 1; i * i < N + 1; i++) { if (N % i == 0) res += 2; if (i * i == N) res--; } cout << res << '\n'; return 0; }