s=input()
a=""

l=len(s)

for i in range (l):
  a=a+"x"
print(a) s=input() s input() input a="" a "" l=len(s) l len(s) len s for i in range (l):
  a=a+"x" i range (l) range l a=a+"x" a a+"x" a "x" print(a) print a s=input() input() s a="" "" a l=len(s) len(s) l a=a+"x" a+"x" a
s=input()
a=""

l=len(s)

for i in range (l):
  a=a+"x"
print(a)