/* p6.cpp

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */

//guzixi ak csp-j
//guzixi ak csp-s
//guzixi ak noip
//guzixi ak shenxuan
//guzixi ak noi
//guzixi ak wc
//guzixi ak ctsc
//guzixi ak ioi
//guzixi ak xxywl

//while(1) rp+=1145141919810;

#include <bits/stdc++.h>
//#include <bits\stdc++.h>
using namespace std;
string s1="#include <stdio.h>",s3="int main(){printf(",s2=");} ",s;
int n,c;
int main(){
	cin>>n>>s;
	for(int i=1;i<n;i++){
		c=1;
		for(int j=2;j<=i;j++){
			c*=2;
		}
		cout<<s1;
		if(i==1)cout<<"\n";
		else {
			for(int j=0;j<c/2;j++)cout<<"\\";
			cout<<"n";
		}
		cout<<s3;
		for(int j=1;j<c;j++)cout<<"\\";
		cout<<"\"";
	}
	cout<<s;
	for(int i=n-1;i>0;i--){
		c=1;
		for(int j=2;j<=i;j++){
			c*=2;
		}
		for(int j=1;j<c;j++)cout<<"\\";
		cout<<"\"";
		cout<<s2;
	}
	return 0;
} 
void mian();
void man();
//guzixi luogu uid = 1124559, welcome
//love ccf, love jiangsu
//ac p6 at 14:37