#include <utility>
#include <vector>
#include <iostream>
using namespace std;

pair<vector<int>, vector<int>> disegna(int N, long long C, long long D) {
	vector<int> crescenti = {10, 20};
	vector<int> decrescenti = {-5, 8};

	return {crescenti, decrescenti};
}




// GRADER DI ESEMPIO
// NON MODIFICARE AL DI SOTTO DI QUESTA LINEA

#ifndef EVAL
int main() {
    ios_base::sync_with_stdio(false);

    int N;
    long long C, D;
    
    cin >> N >> C >> D;

    auto [crescenti, decrescenti] = disegna(N, C, D);

    for (int c: crescenti)
        cout << c << ' ';
    cout << '\n';

    for (int d: decrescenti) 
        cout << d << ' ';
    cout << '\n';
}
#endif

