name,b,c = input().split() b=int(b) c=int(c) if b==c: name = name[0:b] + name[b+1::] else: if b