using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yuki { class Program { static void Main(string[] args) { string[] a = Console.ReadLine().Split(); string S = a[0]; int t = int.Parse(a[1]); int u = int.Parse(a[2]); if (t == u) { S = S.Remove(t, 1); } else if (t > u) { S = S.Remove(t, 1); S = S.Remove(u, 1); } else { S = S.Remove(u, 1); S = S.Remove(t, 1); } Console.Write(S); } static int[] ConvertStringArrayToIntArray(string[] array) { return Array.ConvertAll(array, str => int.Parse(str)); } static List ConvertStringArrayToIntList(string[] str) { var list = new List(); foreach (var c in str) list.Add(int.Parse(c)); return list; } } }