#include <iostream>
#include <string>
#include <vector>
int main() {
std::vector<std::vector<std::string>> stories;
stories.push_back({"Once", "upon", "a", "time"});
for (const auto& x : stories)
for (const std::string& str : x)
std::cout << str << ' ';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgoKaW50IG1haW4oKSB7CiAgICBzdGQ6OnZlY3RvcjxzdGQ6OnZlY3RvcjxzdGQ6OnN0cmluZz4+IHN0b3JpZXM7CiAgICBzdG9yaWVzLnB1c2hfYmFjayh7Ik9uY2UiLCAidXBvbiIsICJhIiwgInRpbWUifSk7CgogICAgZm9yIChjb25zdCBhdXRvJiB4IDogc3RvcmllcykKICAgICAgICBmb3IgKGNvbnN0IHN0ZDo6c3RyaW5nJiBzdHIgOiB4KQogICAgICAgICAgICBzdGQ6OmNvdXQgPDwgc3RyIDw8ICcgJzsKCiAgICByZXR1cm4gMDsKfQ==