#include<bits/stdc++.h> using namespace std; string l1,l2; string l3,l4; string l5,l6; string cout1; string cout2; int main(){ l1 = "#include <iostream>"; l2 = "using namespace std;"; l3 = "\n"; l4 = "int main(){"; l5 = " return 0;"; l6 = "}"; cout1 = " cout << \""; cout2 = "\" << endl;\n"; long long n,k; scanf("%lld%lld",&n,&k); if(n == 1){ cout<<k; return 0; } if(n == 2){ cout<<l1<<l3<<l2<<l3<<l3<<l4<<l3<<" cout << "<<k<<" << endl;\n"<<l5<<l3<<l6; } if(n == 3){ cout<<l1<<l3<<l2<<l3<<l3<<l4<<l3; cout<<cout1<<l1<<cout2; cout<<cout1<<l2<<cout2; cout<<cout1<<l4<<" cout << "<<k<<" << endl;"<<" return 0}"<<cout2; cout<<l5<<l3<<l6; } return 0; }