package yukicoder; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader buff = new BufferedReader(new InputStreamReader(System.in)); try { String[] box = buff.readLine().split(" "); int t = Integer.parseInt(box[1]); int u = Integer.parseInt(box[2]); String ans = ""; for(int i = 0; i < box[0].length(); ++i){ if(i != t && i != u){ ans += box[0].charAt(i); } } System.out.println(ans); } catch (Exception e) { e.getStackTrace(); } } }