#include<bits/stdc++.h>
using namespace std ;
int n , k ;
char c = '"' ;
signed main(){
	cin >> n >> k ;
	if ( n == 1 ){
		cout << k ;
		return 0 ;
	}
	for ( int i = 1 ; i < n ; i++ ){
		if ( i == 1 ){
			cout << "#include <iostream>" << endl ;
			cout << "using namespace std;" << endl ;
			cout << endl ;
			cout << "int main() {" << endl ;
			continue ;
		}
		cout << "	cout << " << c ;
		cout << "#include <iostream>" << c ;
		cout << " << endl;" << endl ;
		
		cout << "	cout << " << c ;
		cout << "using namespace std;" << c ;
		cout << " << endl;" << endl ;
		
		cout << "	cout << " << c ;
		cout << "int main() { cout << " << k << " << endl; return 0; }" << c ;
		cout << " << endl;" << endl ;
		cout << "	return 0;" << endl ;
		cout << "}" ;
	}
	return 0 ; 
}