using System; using System.Collections.Generic; using System.Linq; namespace Test { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(); char[] c = s[0].ToCharArray(); c[int.Parse(s[1])] = ' '; c[int.Parse(s[2])] = ' '; for (int i = 0; i < s[0].Length; i++) { if (c[i] != ' ') { Console.Write(c[i]); } } Console.WriteLine(); } } }