using System; using System.Collections.Generic; using System.Linq; class Program { public void Solve() { string[] Stu = Console.ReadLine().Split(' '); string S = Stu[0]; int B = int.Parse(Stu[1]); int C = int.Parse(Stu[2]); if (B > C) { S = S.Remove(B, 1); S = S.Remove(C, 1); } else if (B < C) { S = S.Remove(C, 1); S = S.Remove(B, 1); } else { S = S.Remove(B, 1); } Console.WriteLine(S); } static void Main() { var solver = new Program(); solver.Solve(); } }