#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a = {1,2,3};
a.insert(a.end(), {4,5,6});
for(int &i : a) {
cout << i << " ";
}
cout << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3I8aW50PiBhID0gezEsMiwzfTsKCWEuaW5zZXJ0KGEuZW5kKCksIHs0LDUsNn0pOwoJZm9yKGludCAmaSA6IGEpIHsKCQljb3V0IDw8IGkgPDwgIiAiOwoJfQoJY291dCA8PCBlbmRsOwoJcmV0dXJuIDA7Cn0=