using System; class Program { static void Main(string[] args) { 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); } }