#include #include #include #include #include using namespace std; void SieveOfEratosthenes(int n,bool *prime); int main() { int g; cin>>g; for(int it=0; it>n; bool *prime = new bool[n+1]; for(int i=0; i