#include using namespace std; //-------------------------------------------- #define FOR(i,a,b) for(int i=(a);i<(b);i++) #define RFOR(i,a,b) for(int i=(b)-1;i>=(a);i--) #define REP(i,n) FOR(i,0,n) #define RREP(i,n) RFOR(i,0,n) #define LL long long #define INF INT_MAX/3 //-------------------------------------------- const double EPS = 1e-14; const double PI = acos(-1.0); //-------------------------------------------- int main(){ int a; scanf("%d",&a); vector v; FOR (i, 1, ceil(sqrt(a) + 1)) { if (a % i == 0) { v.push_back(i); v.push_back(a / i); } } sort(v.begin(), v.end()); v.erase(unique(v.begin(), v.end()), v.end()); printf("%d\n",v.size()); }