x = input()
s = input()
w = s.replace(x, "")
print(w)

2e3f23e996384368625e23d31e1da69444b65deb
<mask token>

<mask token>
print(w)

x = input()
s = input()
w = s.replace(x, '')
print(w)

x = input()
s = input()
w = s.replace(x, "")
print(w)
