#include <bits/stdc++.h> using namespace std; int n, k; int main() { cin >> n >> k; if (n == 1) { cout << k; return 0; } if (n == 2) { cout << "#include <bits/stdc++.h>" << endl; cout << "using namespace std;" << endl; cout << endl; cout << "int main() {" << endl; cout << " cout << " << k << ";" << endl; cout << " return 0;" << endl; cout << "}"; return 0; } if (n == 3) { cout << "#include <bits/stdc++.h>" << endl; cout << "using namespace std;" << endl; cout << endl; cout << "int main() {" << endl; cout << " cout << \"#include <bits/stdc++.h>\" << endl;" << endl; cout << " cout << \"using namespace std;\" << endl;" << endl; cout << " cout << \"int main() { cout << " << k << "; return 0; }\";" << endl; cout << " return 0;" << endl; cout << "}"; return 0; } if (n == 4) { cout << "#include <bits/stdc++.h>" << endl; cout << "using namespace std;" << endl; cout << endl; cout << "int main() {" << endl; cout << " cout << \"#include <bits/stdc++.h>\" << endl;" << endl; cout << " cout << \"using namespace std;\" << endl;" << endl; cout << " cout << \"int main() {\" << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"#include <bits/stdc++.h>" << "\\" << "\" << endl;\" << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"using namespace std;" << "\\" << "\" << endl;\" << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"int main() {" << "\\" << "\"" << " << endl;" << "\" << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"cout << " << k << ";" << "\\" << "\"" << " << endl;" << "\"" << " << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"return 0;" << "\\" << "\""";\" << endl;" << endl; cout << " cout << \" cout << " << "\\" << "\"}" << "\\" << "\";\"" << " << endl;" << endl; cout << " cout << \" return 0;\";" << endl; cout << " cout << ""\"" << "}\"" << ";" << endl; cout << "}" << endl; } return 0; }