using System; using System.Text; class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); var name = input[0]; var idx_t = int.Parse(input[1]); var idx_u = int.Parse(input[2]); if (idx_t == idx_u) name = name.Remove(idx_t, 1); else { var chArr = name.ToCharArray(); chArr[idx_t] = ' '; chArr[idx_u] = ' '; var sb = new StringBuilder(); foreach (char c in chArr) { if (c != ' ') sb.Append(c); } name = sb.ToString(); } Console.WriteLine(name); } }