s, t, u = gets.split [t.to_i, u.to_i].uniq.sort.reverse.each do |idx| s[idx] = "" end puts s