S = input() print(replace("treeone","forest"))