#include <iostream>
#include <vector>
int main () {
std::vector<int> vec {1, 2, 3, 4, 5, 6, 7, 8, 9};
auto it = vec.begin();
vec.insert(it + 3, 10);
for (auto x: vec) {
std::cout << ' ' << x;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgogCmludCBtYWluICgpIHsKICAgIHN0ZDo6dmVjdG9yPGludD4gdmVjIHsxLCAyLCAzLCA0LCA1LCA2LCA3LCA4LCA5fTsKICAgIGF1dG8gaXQgPSB2ZWMuYmVnaW4oKTsKICAgIHZlYy5pbnNlcnQoaXQgKyAzLCAxMCk7CiAgICBmb3IgKGF1dG8geDogdmVjKSB7CiAgICAgICAgIHN0ZDo6Y291dCA8PCAnICcgPDwgeDsKICAgIH0KfQ==