S = input().split() t = int(S[1]) u = int(S[2]) for i in range(len(S)): if i!=t and i!=u: print(S[i], end='')