using System.Collections.Generic; using System; using System.Drawing; namespace yukicoder { class Program { static void Main(string[] args) { var name = Console.ReadLine().Split(" "); string S = name[0]; int t = int.Parse(name[1]); int u = int.Parse(name[2]); string str = S.Remove(t , 1); if(!(t == u) && t > u) { Console.WriteLine(str.Remove(u , 1)); } else if (!(t == u) && t < u) { Console.WriteLine(str.Remove(u - 1 , 1)); } else { Console.WriteLine(str); } } } }