#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); vectorv(1e6+1,true); for(int i=2;i*i<=1e6;++i){ if(!v.at(i))continue; for(int j=i*i;j<=1e6;j+=i){ v.at(j)=false; } } vectorp; int i=1e5+1; while(p.size()<7){ if(v.at(i))p.emplace_back(i); ++i; } vectorans; for(i=0;i>n; --n; cout<