import strutils const t = "treeone" f = "forest" let s = readLine stdin echo: s.replace t, f