#include<bits/stdc++.h>
using namespace std;
int main() {
	int n,k;
	char a="#include <iostream>",b="using namespace std;",c="int main() { cout <<",d="<< endl; return 0; }";
	cin>>n>>k;
	cout<<"#include <iostream>"<<endl<<"using namespace std;"<<endl<<endl<<"int main() {"<<endl<<"cout << "<<a<<"<< endl;"<<endl<<"cout << "<<b<<" << endl;"<<endl<<c<<k<<d; 
return 0;
}