#include <iostream>
#include <string>
#include <vector>
using namespace std;
static_assert(sizeof(char32_t) == sizeof(int), "No valid string exists");
typedef u32string Vector;
int main() {
const vector<int> first = {13};
const vector<int> second = {42};
const Vector concatenation = Vector(first.cbegin(), first.cend()) + Vector(second.cbegin(), second.cend());
for(auto& i : concatenation) {
cout << i << endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0YXRpY19hc3NlcnQoc2l6ZW9mKGNoYXIzMl90KSA9PSBzaXplb2YoaW50KSwgIk5vIHZhbGlkIHN0cmluZyBleGlzdHMiKTsKdHlwZWRlZiB1MzJzdHJpbmcgVmVjdG9yOwoKaW50IG1haW4oKSB7Cgljb25zdCB2ZWN0b3I8aW50PiBmaXJzdCA9IHsxM307Cgljb25zdCB2ZWN0b3I8aW50PiBzZWNvbmQgPSB7NDJ9OwoJY29uc3QgVmVjdG9yIGNvbmNhdGVuYXRpb24gPSBWZWN0b3IoZmlyc3QuY2JlZ2luKCksIGZpcnN0LmNlbmQoKSkgKyBWZWN0b3Ioc2Vjb25kLmNiZWdpbigpLCBzZWNvbmQuY2VuZCgpKTsKCglmb3IoYXV0byYgaSA6IGNvbmNhdGVuYXRpb24pIHsKCQljb3V0IDw8IGkgPDwgZW5kbDsKCX0KfQ==