using System; using System.Text; namespace Substring { class MainClass { public static void Main(string[] args) { string wordToRemove = Console.ReadLine().ToLower(); string text = Console.ReadLine(); while (text.Contains(wordToRemove)) { text = text.Replace(wordToRemove, string.Empty); } Console.WriteLine(text); } } }