package yukicoder; import java.util.Scanner; public class Yuki292 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String s = scan.next(); int t = scan.nextInt(); int u = scan.nextInt(); scan.close(); for(int i = 0; i < s.length(); i++) { if( i == t || i == u) { continue; } System.out.print(s.charAt(i)); } } }