s,a,b=input().split() s=list(s) s[int(a)],s[int(b)]=" "," " print("".join(s).replace(" ",""))