s,t,u=gets.split s=s.split '' t=t.to_i u=u.to_i s[t]=nil s[u]=nil puts s.join ''