s,i,j = list(input()) print("".join([s[k] for k in range(len(s)) if k != i and k != j]))