import java.util.Scanner; public class No_292second { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String stageName = sc.next(); int advice_B = sc.nextInt(); int advice_C = sc.nextInt(); for(int i = 0;i < stageName.length();i++){ if(i != advice_B && i != advice_C){ System.out.print(stageName.charAt(i)); } } System.out.println(); sc.close(); } }