#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include <algorithm>
int main ()
{
std::string string = "11 111 11 11";
std::istringstream iss (string);
std::copy(std::istream_iterator<std::string>(iss),
std::istream_iterator<std::string>(), std::ostream_iterator<std::string>(
std::cout, " "));
std::cout << std::endl;
return 0;
}
CiNpbmNsdWRlIDxpb3N0cmVhbT4gICAgIAojaW5jbHVkZSA8c3N0cmVhbT4gICAgICAKI2luY2x1ZGUgPHN0cmluZz4gICAgICAgCiNpbmNsdWRlIDxpdGVyYXRvcj4KI2luY2x1ZGUgPGFsZ29yaXRobT4KCmludCBtYWluICgpIAp7CgogIHN0ZDo6c3RyaW5nIHN0cmluZyA9ICIxMSAxMTEgICAxMSAgMTEiOwogIHN0ZDo6aXN0cmluZ3N0cmVhbSBpc3MgKHN0cmluZyk7CgogIHN0ZDo6Y29weShzdGQ6OmlzdHJlYW1faXRlcmF0b3I8c3RkOjpzdHJpbmc+KGlzcyksIAogICAgICBzdGQ6OmlzdHJlYW1faXRlcmF0b3I8c3RkOjpzdHJpbmc+KCksIHN0ZDo6b3N0cmVhbV9pdGVyYXRvcjxzdGQ6OnN0cmluZz4oCiAgICAgIHN0ZDo6Y291dCwgIiAiKSk7CiAgc3RkOjpjb3V0IDw8IHN0ZDo6ZW5kbDsKCiAgcmV0dXJuIDA7Cn0KCg==