#include #include #include #include #include #include #include #include #include #include #include #include #include #define CK(N,A,B) (A<=N&&N>N; for(ll i = 1; i*i <= N; i++){ if(N%i != 0) continue; ll num = N/i; if(to_string(num) == to_string(i)) ans += 1LL; else ans += 2LL; } cout<