#include <bits/stdc++.h>
using namespace std;
using namespace chrono;

template<typename Int>
struct random_variable: mt19937_64 {
	random_variable() : mt19937_64(steady_clock::now().time_since_epoch().count()) {}
	Int value(Int u, Int v) { return uniform_int_distribution<Int>(u,v)(*this); } }; 
 
 random_variable<int> Random; random_variable<int64_t> RandomLL;
 
 const int sum = Random.value(2,100), x = Random.value(1,sum-1), y = sum-x, z[] = {x,y};
 
 int main() {
 	
 	int n, p; int64_t q; cin >> n >> p >> q;
 	
 	cout << 1 << endl << n << endl;
 	
 	for (int i = 0; i < n; ++i)
 		cout << 100*Random.value(1,p) << ' ';
 		
 	for (int i = 0; i < 2; ++i)
 		cout << endl << z[i] << ' ' << Random.value(1,n); 
 	
 	cout << endl << RandomLL.value(1,q);
 }
