code  = 'Wnb.r.ietoeh Fo"lKutrts"znl cc hi ee ekOtggsnkidy hini cna neea civo lh'
# Starts with Capital W, we assume it's descending.

# Gave up

def print_2d_array(array):
	for arr in array:
		print(''.join(arr))


for depth in range(1, 10):
	# ans = []
	# base_step = (2 * depth) - 1
	# step = base_step
	# for _ in range(depth):
	# 	ans.append([])
	# x1 = 0
	# x2 = step
	# y = 0
	# for i in range(len(code)):
	# 	c1,c2 = code[i:i+2]
	# 	ans[y].append(c)
	# 	# for col in ans:
	# 	# 	if not col == ans[y]:
	# 	# 		col.append('-')

	# 	x1 = x2
	# 	x2 += step
	# 	if x1 > len(code):
	# 		step -= 2
	# 		x1 = y + 1
	# 		x2 = x1 + step
	# 		y = x1
	print_2d_array(ans)



