#include #include #include #include #include int main(){ long long n; std::cin >> n; std::vector v; std::string str, str1; for(int i = 1; i <= sqrt(n); i++){ if(n % i == 0){ str = std::to_string(i) + std::to_string(n / i); str1 = std::to_string(n / i) + std::to_string(n / i); bool find = false; for(int i = 0; i < v.size(); i++){ if(find)break; if(str == v[i])find = true; } if(!find)v.push_back(str); find = false; for(int i = 0; i < v.size(); i++){ if(find)break; if(str1 == v[i])find = true; } if(!find)v.push_back(str1); } } std::cout << v.size() << std::endl; }