#include <bits/stdc++.h>
using namespace std;
int n, a[100010];
int main()
{
    srand(time(NULL));
    freopen(".10.in","w",stdout);
    cout<<100000<<endl;
    for(int i = 0 ; i < 100000 ; i++ ) a[i] = i+1;
    for(int i = 0 ; i < 100000 ; i++ ) cout<<100000-a[i]+1<<" ";
}
