input = gets
if input.include?("treeone")
    input.gsub!(/treeone/, 'forest')
end
puts input