#include <bits/stdc++.h>
using namespace std;
int main(){
	int n,k;
	cin>>n>>k;
	if (n==1) cout<<k<<endl;
	else{
		cout<<"#include <bits/stdc++.h>"<<endl;
		cout<<"using namespace std;"<<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<<"<<endl;"<<'"'<<endl;
    	cout<<"    "<<"cout<<"<<'"'<<"return 0;}"<<'"'<<"<<endl;"<<endl; 
    	cout<<'}'<<endl;
	}
	return 0;
}