import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int t = sc.nextInt(); int u = sc.nextInt(); StringBuilder sb = new StringBuilder(str); sb.delete(t, t+1); if (!(t == u)) { sb.delete(u-1, u); } System.out.println(sb.toString()); sc.close(); } }