import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No292 { public static void main(String[] args) throws IOException{ String[] str = new BufferedReader(new InputStreamReader(System.in)).readLine().split(" "); int t = Integer.parseInt(str[1]); int u = Integer.parseInt(str[2]); char[] chr = str[0].toCharArray(); for(int i=0; i < chr.length; i++){ if(i != t && i != u) System.out.print(chr[i]); } System.out.println(); } }