#include <bits/stdc++.h> using namespace std; int k; void dg(int n,bool o) { if(n==1) { cout<<k; return ; } if(o==0) cout<<"""\""; cout<<"#include <bits/stdc++.h>"; if(o==1) cout<<'\n'; if(o==0) cout<<"""\"<<endl; "; if(o==0) cout<<"cout<<""\""; cout<<"using namespace std;"; if(o==0) cout<<"\"<<endl;"; if(o==0) cout<<"cout<<""\""; cout<<"int main(){"; if(n-1==1||o==1) cout<<"cout<<"; else if(o==0) cout<<"cout<<""\"<<endl;"; //if(n-1>1) cout<<"\""; dg(n-1,0); if(o==1) cout<<"\""; //else if(n-1>1) cout<<"\"""<<"; cout<<"; return 0;}"; } int main() { ios::sync_with_stdio(0); cin.tie(0);cout.tie(0); int n; cin>>n>>k; if(n==2) { cout<<"#include <bits/stdc++.h>"<<'\n'; cout<<"using namespace std;"<<'\n'; cout<<"int main(){cout<<"<<k<<"; return 0;}"<<'\n'; } else dg(n,1); return 0; }