#include <string>
#include <iostream>
#include <sstream>
using namespace std;
string fSplit(const string& fString)
{
string word;
istringstream buf(fString);
buf >> word;
return word;
}
int main()
{
cout << fSplit("One two three four") << '\n';
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0cmluZyBmU3BsaXQoY29uc3Qgc3RyaW5nJiBmU3RyaW5nKQp7CiAgICBzdHJpbmcgd29yZDsKICAgIGlzdHJpbmdzdHJlYW0gYnVmKGZTdHJpbmcpOwogICAgYnVmID4+IHdvcmQ7CiAgICByZXR1cm4gd29yZDsKfQoKaW50IG1haW4oKQp7CiAgICBjb3V0IDw8IGZTcGxpdCgiT25lIHR3byB0aHJlZSBmb3VyIikgPDwgJ1xuJzsKfQ==