c,n,m = gets.split t = c.chars t[n.to_i] = "" t[m.to_i] = "" puts t*""