s,t,u=input().split() t=int(t) u=int(u) l=list(s) if t==u: l.pop(t) else: if t