#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
using namespace std;
int main()
{
vector<string> words;
string line;
getline(cin, line);
istringstream iss(line);
copy(istream_iterator<string>(iss), istream_iterator<string>(), back_inserter(words));
copy(words.begin(), words.end(), ostream_iterator<string>(cout, "\n"));
}
I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICB2ZWN0b3I8c3RyaW5nPiB3b3JkczsKCiAgICBzdHJpbmcgbGluZTsKICAgIGdldGxpbmUoY2luLCBsaW5lKTsKICAgIGlzdHJpbmdzdHJlYW0gaXNzKGxpbmUpOwogICAgCiAgICBjb3B5KGlzdHJlYW1faXRlcmF0b3I8c3RyaW5nPihpc3MpLCBpc3RyZWFtX2l0ZXJhdG9yPHN0cmluZz4oKSwgYmFja19pbnNlcnRlcih3b3JkcykpOwogICAgY29weSh3b3Jkcy5iZWdpbigpLCB3b3Jkcy5lbmQoKSwgb3N0cmVhbV9pdGVyYXRvcjxzdHJpbmc+KGNvdXQsICJcbiIpKTsKfQ==