#include int main(){int n=200000,k=50,M=31622;printf("1\n%d %d\n",n,k);for(int i=1;i<=n;i++)printf("%lld ",1LL*(i%M)*(i%M)+1);return 0;}