n,a,b=input().split() a,b=map(int,[a,b]);n=list(n) n[a]=n[b]='' print(*n,sep='')