#include <bits/stdc++.h> using namespace std; int N; void f(int n,int k) { if(n == 1) cout << k; else { if(n == N) cout << "#include <bits/stdc++.h>" << endl; else { cout << "#include <bits/stdc++.h>\"<<endl<<\""; } cout << "using namespace std;"; cout << "int main() {"; cout << "cout << \""; f(n - 1,k); cout << "\";"; cout << "return 0;}"; } } int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); //freopen("p1.in","r",stdin); //freopen("p1.out","w",stdout); int k; cin >> N >> k; f(N,k); return 0; }