s, t, u = gets.chomp.split t, u = [t, u].map &:to_i s[t] = '_' s[u] = '_' puts s.gsub('_', '')