s = input()
for x in s:
	print('x', end='')
print() s = input() s input() input for x in s:
	print('x', end='') x s print('x', end='') print 'x' end='' end '' print() print s = input() input() s
s = input()
for x in s:
	print('x', end='')
print()