#include <iostream>
using namespace std;
int main() {
// your code goes here
int n;
cin>>n;
int i;
int count=0;
for(i=1;i<=n;i++)
{
if(n%i==0)
{
count++;
}
}
cout<<count;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgbjsKCWNpbj4+bjsKCWludCBpOwoJaW50IGNvdW50PTA7Cglmb3IoaT0xO2k8PW47aSsrKQoJIHsKCSAJaWYobiVpPT0wKQoJIAkgewoJIAkgCWNvdW50Kys7CgkgCSB9CgkgfQoJIGNvdXQ8PGNvdW50OwoJcmV0dXJuIDA7Cn0=