#include <iterator>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
int main() {
using namespace std;
vector<int> a = {0, 1, 2, 3, 4};
vector<string> b;
transform(a.cbegin(), a.cend(), back_inserter(b), [](int i){return to_string(i);});
copy(b.cbegin(), b.cend(), ostream_iterator<string>(cout, ": "));
cout << endl;
}
I2luY2x1ZGUgPGl0ZXJhdG9yPgojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDx2ZWN0b3I+CiNpbmNsdWRlIDxzdHJpbmc+CiNpbmNsdWRlIDxhbGdvcml0aG0+CgppbnQgbWFpbigpIHsKICAgIHVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgl2ZWN0b3I8aW50PiBhID0gezAsIDEsIDIsIDMsIDR9OwoJdmVjdG9yPHN0cmluZz4gYjsKCXRyYW5zZm9ybShhLmNiZWdpbigpLCBhLmNlbmQoKSwgYmFja19pbnNlcnRlcihiKSwgW10oaW50IGkpe3JldHVybiB0b19zdHJpbmcoaSk7fSk7Cgljb3B5KGIuY2JlZ2luKCksIGIuY2VuZCgpLCBvc3RyZWFtX2l0ZXJhdG9yPHN0cmluZz4oY291dCwgIjogIikpOwoJY291dCA8PCBlbmRsOwp9Cg==