a, b, c = input().split() for i, v in enumerate(a): if i != int(b) and i != int(c): print(v,end='') print()