package yuki_coder; import java.util.Scanner; public class No_292 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine(); sc.close(); String[] str = S.split(" ", 0); String[] st = new String[50]; String S2 = ""; int t = Integer.parseInt(str[1]); int u = Integer.parseInt(str[2]); for(int i = 1; i <= str[0].length(); i++){ st[i-1] = str[0].substring(i-1, i); } if(t==u){ st[t] = ""; }else{ st[t] = ""; st[u] = ""; } for(int i = 0; i < str[0].length(); i++){ S2 += st[i]; } System.out.println(S2); } }