#include<bits/stdc++.h>
using namespace std;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	long long n,k;
	cin>>n>>k;
	if(n==1)
	{
		cout<<k;
	}
	if(n==2)
	{
		cout<<"cout<<"<<k<<"<<endl";
	}
	if(n==3)
	{
		cout<<"#include <iostream>"<<'\n';
		cout<<"using namespace std;"<<'\n';
		cout<<"int main() {";
		cout << "	cout << #include <iostream> << endl;"<<endl;
		cout << "   cout << using namespace std; << endl;"<<endl;
		cout << "   cout << int main() { cout << 4096 << endl; return 0; }<< endl;" <<endl;
		cout <<	"	return 0;"<<endl;
		cout <<"}";
	}
	return 0;
}