#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string str; cin >> str; cout << regex_replace(str, regex("treeone"), "forest") << endl; }