#include <iostream>
#include <cmath>
using namespace std;
int main () {
int NumberOfPeople;
cin >> NumberOfPeople;
if(NumberOfPeople == 1){
cout << 1;
return 0;
}
else
{
int deviders = 0;
for(int i = 1; i < sqrt(NumberOfPeople);i++){
if(NumberOfPeople % i == 0) deviders++;
}
deviders *= 2;
int Root = sqrt(NumberOfPeople);
if(Root*Root == NumberOfPeople) deviders++;
cout << deviders;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbiAoKSB7IAoJaW50IE51bWJlck9mUGVvcGxlOwoJY2luID4+IE51bWJlck9mUGVvcGxlOwoJaWYoTnVtYmVyT2ZQZW9wbGUgPT0gMSl7CgkJY291dCA8PCAxOwoJCXJldHVybiAwOwoJfSAKCWVsc2UKCXsKCWludCBkZXZpZGVycyA9IDA7Cglmb3IoaW50IGkgPSAxOyBpIDwgc3FydChOdW1iZXJPZlBlb3BsZSk7aSsrKXsKICAgICAgICAJCWlmKE51bWJlck9mUGVvcGxlICUgaSA9PSAwKSBkZXZpZGVycysrOwoJfQoJZGV2aWRlcnMgKj0gMjsKCWludCBSb290ID0gc3FydChOdW1iZXJPZlBlb3BsZSk7CglpZihSb290KlJvb3QgPT0gTnVtYmVyT2ZQZW9wbGUpIGRldmlkZXJzKys7Cgljb3V0IDw8IGRldmlkZXJzOwoJfQogICAgcmV0dXJuIDA7Cn0=