#include using namespace std; int main() { long long n,ans = 0; cin >> n; for(long long i = 1;i <= n;i++){ if(n % i == 0) ans++; } cout << ans << "\n"; return 0; }