#include <algorithm>
#include <cstring>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
using namespace std;
int main() {
auto str = "The quick brown fox"s;
vector<string> tokens;
for (auto i = strtok(&str[0], " "); i != nullptr; i = strtok(nullptr, " ")) tokens.push_back(i);
copy(cbegin(tokens), cend(tokens), ostream_iterator<string>(cout, "\n"));
}
I2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGNzdHJpbmc+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgogCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKSB7CglhdXRvIHN0ciA9ICJUaGUgcXVpY2sgYnJvd24gZm94InM7Cgl2ZWN0b3I8c3RyaW5nPiB0b2tlbnM7CiAKCWZvciAoYXV0byBpID0gc3RydG9rKCZzdHJbMF0sICIgIik7IGkgIT0gbnVsbHB0cjsgaSA9IHN0cnRvayhudWxscHRyLCAiICIpKSB0b2tlbnMucHVzaF9iYWNrKGkpOwogCgljb3B5KGNiZWdpbih0b2tlbnMpLCBjZW5kKHRva2VucyksIG9zdHJlYW1faXRlcmF0b3I8c3RyaW5nPihjb3V0LCAiXG4iKSk7Cn0=