using System; using System.Linq; 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 { name = name.Remove(idx_t, 1); name = name.Remove(idx_u, 1); } Console.WriteLine(name); } }