import math._ object Main { def main(args: Array[String]) { val sc = new java.util.Scanner(System.in) val s = sc.next val t, u = sc.nextInt val xs = (0 to s.length-1).map { i => if (i == t || i == u) "" else s(i).toString } println(xs.mkString) } }