#include using namespace std; int main() { string treeone; cin >> treeone; for(int i = 0; i < treeone.size(); i++) { if(treeone.substr(i, 7) == "treeone") { cout << "forest"; i += 6; } else { cout << treeone[i]; } } cout << endl; }