s = list(eval(input()))

for x in s:

    s[s.index(x)] = "x"

s = str(s).replace(",", "").replace("'", "").replace("[", "").replace("]", "").replace(" ","")

print(s)

str1=eval(input())

str2=list(str1)



print(('x'*len(str2)))
s = list(eval(input()))
for x in s:
    s[s.index(x)] = "x"
s = (
    str(s)
    .replace(",", "")
    .replace("'", "")
    .replace("[", "")
    .replace("]", "")
    .replace(" ", "")
)
print(s)

str1 = eval(input())
str2 = list(str1)
print(("x" * len(str2)))

-s = list(eval(input())) -for x in s: -    s[s.index(x)] = "x" -s = ( -    str(s) -    .replace(",", "") -    .replace("'", "") -    .replace("[", "") -    .replace("]", "") -    .replace(" ", "") -) -print(s) +str1 = eval(input()) +str2 = list(str1) +print(("x" * len(str2)))