//造数据
#include <bits/stdc++.h>
#include <random>
using namespace std;
int main(){
random_device rd;
mt19937 gen(rd());
int n = 20;
cout << n << endl;
for(int i = 1; i <= n; i++){
int x = gen() % 100;
cout << x << ' ';
}
cout << endl;
for(int i = 1; i <= n; i++){
int x = gen() % 100;
cout << x << ' ';
}
}