#include <iostream>
#include <string>
#include <sstream>
#include <algorithm>
#include <iterator>
#include <vector>
using namespace std;
int main() {
vector<string> vs;
string line;
while(getline(cin,line))
{
// the following two line are from
// http://stackoverflow.com/questions/236129/how-to-split-a-string-in-c
istringstream iss(line);
copy(istream_iterator<string>(iss),
istream_iterator<string>(),
back_inserter<vector<string> >(vs));
for(vector<string>::iterator it = vs.begin(), iend = vs.end(); it != iend; ++it)
{
cout << *it << endl;
}
vs.clear();
cout << "=== EOL ===" << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3I8c3RyaW5nPiB2czsKCXN0cmluZyBsaW5lOwoJd2hpbGUoZ2V0bGluZShjaW4sbGluZSkpCgl7CgkJLy8gdGhlIGZvbGxvd2luZyB0d28gbGluZSBhcmUgZnJvbQoJCS8vIGh0dHA6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMjM2MTI5L2hvdy10by1zcGxpdC1hLXN0cmluZy1pbi1jCgkJaXN0cmluZ3N0cmVhbSBpc3MobGluZSk7CgkJY29weShpc3RyZWFtX2l0ZXJhdG9yPHN0cmluZz4oaXNzKSwKICAgICAgICAgICAgIGlzdHJlYW1faXRlcmF0b3I8c3RyaW5nPigpLAogICAgICAgICAgICAgYmFja19pbnNlcnRlcjx2ZWN0b3I8c3RyaW5nPiA+KHZzKSk7CiAgICAgICAgZm9yKHZlY3RvcjxzdHJpbmc+OjppdGVyYXRvciBpdCA9IHZzLmJlZ2luKCksIGllbmQgPSB2cy5lbmQoKTsgaXQgIT0gaWVuZDsgKytpdCkKICAgICAgICB7CiAgICAgICAgCWNvdXQgPDwgKml0IDw8IGVuZGw7CiAgICAgICAgfQogICAgICAgIHZzLmNsZWFyKCk7CiAgICAgICAgY291dCA8PCAiPT09IEVPTCA9PT0iIDw8IGVuZGw7Cgl9CglyZXR1cm4gMDsKfQo=