m = str(input())

n = len(m)

x = "x" * n

print(x) m = str(input()) m str(input()) str input() input n = len(m) n len(m) len m x = "x" * n x "x" * n "x" n print(x) print x m = str(input()) str(input()) m n = len(m) len(m) n x = "x" * n "x" * n x
m = str(input())

n = len(m)

x = "x" * n

print(x)