#include #include #include #include #include using namespace std; using Long=long long int; std::vector genprimes(Long N) { std::vector p(N); for(Long i=2;i>N; if(N%2==0 || N%3==0) { if(N%4==0) { cout << 4 << endl; } else if (N%3==0) { cout << 3 << endl; } else if(isprime(N/2) && N/2!=2) { cout << N/2 << endl; } return 0; } for(auto x : primes) { if(x==2) continue; if(N%x==0) { cout<