#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);
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIG5hbWVzcGFjZSBjaHJvbm87Cgp0ZW1wbGF0ZTx0eXBlbmFtZSBJbnQ+CnN0cnVjdCByYW5kb21fdmFyaWFibGU6IG10MTk5MzdfNjQgewoJcmFuZG9tX3ZhcmlhYmxlKCkgOiBtdDE5OTM3XzY0KHN0ZWFkeV9jbG9jazo6bm93KCkudGltZV9zaW5jZV9lcG9jaCgpLmNvdW50KCkpIHt9CglJbnQgdmFsdWUoSW50IHUsIEludCB2KSB7IHJldHVybiB1bmlmb3JtX2ludF9kaXN0cmlidXRpb248SW50Pih1LHYpKCp0aGlzKTsgfSB9OyAKIAogcmFuZG9tX3ZhcmlhYmxlPGludD4gUmFuZG9tOyByYW5kb21fdmFyaWFibGU8aW50NjRfdD4gUmFuZG9tTEw7CiAKIGNvbnN0IGludCBzdW0gPSBSYW5kb20udmFsdWUoMiwxMDApLCB4ID0gUmFuZG9tLnZhbHVlKDEsc3VtLTEpLCB5ID0gc3VtLXgsIHpbXSA9IHt4LHl9OwogCiBpbnQgbWFpbigpIHsKIAkKIAlpbnQgbiwgcDsgaW50NjRfdCBxOyBjaW4gPj4gbiA+PiBwID4+IHE7CiAJCiAJY291dCA8PCAxIDw8IGVuZGwgPDwgbiA8PCBlbmRsOwogCQogCWZvciAoaW50IGkgPSAwOyBpIDwgbjsgKytpKQogCQljb3V0IDw8IDEwMCpSYW5kb20udmFsdWUoMSxwKSA8PCAnICc7CiAJCQogCWZvciAoaW50IGkgPSAwOyBpIDwgMjsgKytpKQogCQljb3V0IDw8IGVuZGwgPDwgeltpXSA8PCAnICcgPDwgUmFuZG9tLnZhbHVlKDEsbik7IAogCQogCWNvdXQgPDwgZW5kbCA8PCBSYW5kb21MTC52YWx1ZSgxLHEpOwogfQo=