#include <iostream> #include <vector> #include <string> #include <algorithm> #include <math.h> using namespace std; int main() { int n; cin >> n; vector<string> a; for(int i = 1;i <= n;i++){ if(n%i != 0)continue; int m = n/i; a.push_back(to_string(i)+to_string(m)); } sort(a.begin(),a.end()); a.erase(unique(a.begin(), a.end()),a.end()); cout << a.size() << endl; return 0; }