import java.util.Scanner object Problem292 { def main(args: Array[String]) { val sc = new Scanner(System.in) val s = sc.next() val t = sc.nextInt() val u = sc.nextInt() val result = s.updated(t, "").updated(u, "") println(result.mkString) } }