print((function (f) return f(io.stdin:read("*l"):gsub("treeone","forest")) end)(function (...) local a={...} return a[1] end))