import Foundation let S = readLine()! let T = S.replacingOccurrences(of: "treeone", with: "forest") print(T)