#include <iostream>
#include <vector>
#include <string>
#include <iterator>
std::vector<std::string> GetWordsFromStream(std::istream &istream) {
std::vector<std::string> words;
std::copy(std::istream_iterator<std::string>(istream),
std::istream_iterator<std::string>(), std::back_inserter(words));
return words;
}
void ShowWords(const std::vector<std::string> &words, std::ostream &ostream) {
std::copy(words.begin(), words.end(),
std::ostream_iterator<std::string>(ostream, " "));
std::cout << '\n';
}
int main() {
auto words = GetWordsFromStream(std::cin);
ShowWords(words, std::cout);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8aXRlcmF0b3I+CgpzdGQ6OnZlY3RvcjxzdGQ6OnN0cmluZz4gR2V0V29yZHNGcm9tU3RyZWFtKHN0ZDo6aXN0cmVhbSAmaXN0cmVhbSkgewogIHN0ZDo6dmVjdG9yPHN0ZDo6c3RyaW5nPiB3b3JkczsKICBzdGQ6OmNvcHkoc3RkOjppc3RyZWFtX2l0ZXJhdG9yPHN0ZDo6c3RyaW5nPihpc3RyZWFtKSwKICAgICAgICAgICAgc3RkOjppc3RyZWFtX2l0ZXJhdG9yPHN0ZDo6c3RyaW5nPigpLCBzdGQ6OmJhY2tfaW5zZXJ0ZXIod29yZHMpKTsKICByZXR1cm4gd29yZHM7Cn0KCnZvaWQgU2hvd1dvcmRzKGNvbnN0IHN0ZDo6dmVjdG9yPHN0ZDo6c3RyaW5nPiAmd29yZHMsIHN0ZDo6b3N0cmVhbSAmb3N0cmVhbSkgewogIHN0ZDo6Y29weSh3b3Jkcy5iZWdpbigpLCB3b3Jkcy5lbmQoKSwKICAgICAgICAgICAgc3RkOjpvc3RyZWFtX2l0ZXJhdG9yPHN0ZDo6c3RyaW5nPihvc3RyZWFtLCAiICIpKTsKICBzdGQ6OmNvdXQgPDwgJ1xuJzsKfQoKaW50IG1haW4oKSB7CiAgYXV0byB3b3JkcyA9IEdldFdvcmRzRnJvbVN0cmVhbShzdGQ6OmNpbik7CiAgU2hvd1dvcmRzKHdvcmRzLCBzdGQ6OmNvdXQpOwogIHJldHVybiAwOwp9