#include <bits/stdc++.h> using namespace std; int main() { int a,s=0; cin >> a; for(int i=1;i<=a/i;i++){ if(a%i==0){ s++; } } cout << s; return 0; }