#include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { string s; cin >> s; string r = regex_replace(s, regex("treeone"), "forest"); cout << r << endl; return 0; }