提交时间:2024-04-28 08:46:24

运行 ID: 28612

#include<bits/stdc++.h> using namespace std; #define ull unsigned long long #define lson (pos<<1) #define rson (pos<<1|1) #define pii pair<int,int> #define fr first #define sc second #define mk make_pair #define pb push_back #define gczakioi true #define inx int i=h[u],v=(~i)?edge[i].v:0;~i;i=edge[i].nx,v=(~i)?edge[i].v:0 #define x1 lylakioi #define y1 lileakioi int read(){int x=0,f=1;char c=getchar();while(c>'9'||c<'0'){if(c=='-')f=-1;c=getchar();}x=c-'0';c=getchar();while(c<='9'&&c>='0'){x*=10;x+=c-'0';c=getchar();}return x*f;} const int MAXN=300010,inf=1000000000,base=20200721,Mod=1011451423,Mod2=999911659; int ans,n; // struct Edge{int v,nx;}edge[MAXN<<1];int h[MAXN],CNT;void init(){for(int i=1;i<=n;i++)h[i]=-1;CNT=1;} // void add_side(int u,int v){edge[++CNT]={v,h[u]};h[u]=CNT;edge[++CNT]={u,h[v]};h[v]=CNT;} // pii f[MAXN]; // int jc // void dfs(int u,int lst){ // for(inx)if(v!=lst){ // f // } // } // void slv(){ // scanf("%d",&n);init(); // for(int i=1;i<n;i++){ // int u=read(),v=read(); // add_side(u,v); // } // dfs(1,1); // printf("%s\n",check(1,1)?"Yes":"No"); // } signed main(){ scanf("%lld",&n); printf("1 "); for(int i=2;i<=n;i++)printf("%lld",n+i); return 0; }