s, t, u = gets.chomp.split t = t.to_i u = u.to_i if t == u s[t, 1] = "" else s[[t,u].max, 1] = "" s[[t,u].min, 1] = "" end puts s