name,b,c = input().split() name = list(name) b=int(b) c=int(c) if b==c: del name[b] elif b