use std::io::*; fn main() { let mut s: String = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let s: Vec = itr.next().unwrap().chars().collect(); let a: usize = itr.next().unwrap().parse().unwrap(); let b: usize = itr.next().unwrap().parse().unwrap(); let mut out = Vec::new(); for i in 0..s.len() { if i == a || i == b { continue; } write!(out, "{}", s[i]).ok(); } writeln!(out, "").ok(); stdout().write_all(&out).unwrap(); }