#include #include #include using namespace std; #define FOR(i, a, n) for (int i = a; i < n; i++) #define REP(i, n) for(int i = 0; i < n; i++) struct omt{omt(){ios::sync_with_stdio(false);cin.tie(0);}}star; int main(){ long long n; cin >> n; int limit = sqrt(n); set st; FOR(i, 1, limit + 1){ if(n % i == 0){ st.insert(to_string(i) + to_string(n / i)); st.insert(to_string(n / i) + to_string(i)); } } /* for(auto x : st) cout << x << " "; cout << endl; */ cout << st.size() << endl; return 0; }