#include "bits/stdc++.h" using namespace std; typedef long long int ll; vector divisor(ll n) { vector< ll > div; for(ll i = 1; i * i <= n; i++) { if(n % i == 0) { div.push_back(i); //重複許すマジ if(i * i != n) div.push_back(n / i); } } sort(div.begin(), div.end()); return (div); } int main(){ ll N; cin >> N; vector div = divisor(N); ll ans = div.size(); if(div.size() % 2 != 0){ ans--; } cout << ans << endl; }