#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
int main()
{
int array[] = {1,2,3,4};
std::copy(array, array+4, std::ostream_iterator<int>(std::cout,","));
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgoKCmludCBtYWluKCkKewogICAgaW50ICBhcnJheVtdID0gezEsMiwzLDR9OwoKICAgIHN0ZDo6Y29weShhcnJheSwgYXJyYXkrNCwgc3RkOjpvc3RyZWFtX2l0ZXJhdG9yPGludD4oc3RkOjpjb3V0LCIsIikpOwp9