using System; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(); char[] ary = s[0].ToCharArray(); int t = int.Parse(s[1]); int u = int.Parse(s[2]); int[] x; string name = ""; if (t == u) { x = new int[] { t }; } else { x = new int[] { t, u }; } Array.Sort(x); int j = 0; for (int i = 0; i < ary.Length; i++) { if (j >= x.Length) { name += ary[i]; } else { if (i == x[j]) { j++; continue; } else { name += ary[i]; } } } Console.WriteLine(name); Console.Read(); } }