using System; public class Hello { public static void Main() { var s = Console.ReadLine().Trim(); Console.WriteLine(s.Replace("treeone", "forest")); } }