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(); int t = sc.nextInt(); int u = sc.nextInt(); sc.close(); String[] st = new String[50]; String S2 = ""; for(int i = 1; i <= S.length(); i++){ st[i-1] = S.substring(i-1, i); } if(t==u){ st[t] = ""; }else{ st[t] = ""; st[u] = ""; } for(int i = 0; i < S.length(); i++){ S2 += st[i]; } System.out.println(S2); } }