#include<iostream>
using namespace std;

int main(){

int n;
while(cin>>n){
    int i=0;
    int count=0;
    for(i=1;i<=n;i++)
       if(n%i==0)
           count++;
    cout<<count<<endl;
}

return 0;
}