# for row in range(0,13):
# 	if row == 0:
# 		th = "x "
# 		for x in range(1,13):
# 			th+=str(x) +" "
# 		print th
# 		continue
# 	string = "" + str(row) + " "
# 	for colum in range(1,13):
# 		string += str(row*colum) + " "
# 	print string