#include <iostream>
using namespace std;
int main() {
int bil;
cin >> bil;
int faktor = 0;
for(int i = 1; i <= bil; i++)
if(bil%i == 0)
faktor++;
cout << faktor << endl;
return 0;
}
// 24
// Faktor: 1 2 3 4 6 8 12 24
// i: 1 2 3 4 5 6 .. 24
// 24/1 = 0/1 + 24 -> a = 24%1 = 0
// 24/7 = 3/7 + 3 -> a = 24%7 = 3
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgYmlsOwoJY2luID4+IGJpbDsKCQoJaW50IGZha3RvciA9IDA7Cglmb3IoaW50IGkgPSAxOyBpIDw9IGJpbDsgaSsrKQoJCWlmKGJpbCVpID09IDApCgkJCWZha3RvcisrOwoJCgljb3V0IDw8IGZha3RvciA8PCBlbmRsOwoJcmV0dXJuIDA7Cn0KCi8vIDI0Ci8vIEZha3RvcjogMSAyIDMgNCA2IDggMTIgMjQKLy8gaTogMSAyIDMgNCA1IDYgLi4gMjQKLy8gMjQvMSA9IDAvMSArIDI0IC0+IGEgPSAyNCUxID0gMAovLyAyNC83ID0gMy83ICsgMyAtPiBhID0gMjQlNyA9IDM=