import re

S=list(eval(input()))

A,X="","x"

for i in range(len(S)):

    A=A+X

print(A)
S=list(eval(input()))

A,X="","x"

for i in range(len(S)):

    A=A+X

print(A)
import re

S = list(eval(input()))
A, X = "", "x"
for i in range(len(S)):
    A = A + X
print(A)

S = list(eval(input()))
A, X = "", "x"
for i in range(len(S)):
    A = A + X
print(A)

-import re -