#include using namespace std; int main() { int N, ans = 0; cin >> N; for (int i = 1; i <= (int)sqrt(N); i++) { if (N % i == 0 && i != (N / i)) ans += 2; else if (N % i == 0 && i == (N / i)) ans++; } cout << ans << endl; }