#include using namespace std; #define int long long signed main(){ string S, temp[2] = {"treeone","forest"}; cin>>S; for(int i = 0; i < S.size(); i++){ int f = 0; for(int j = 0; j < temp[0].size(); j++){ if(i+j >= S.size()){ f = 1; break; } if(S[i+j] != temp[0][j]){ f = 1; break; } } if(f == 0){ cout<