s,t,u=map(str,input().split()) v=[*s] if t==u: v.pop(int(t)) elif t>u: v.pop(int(t)) v.pop(int(u)) elif t