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