# Assignment: Multiplication Table

for x in range(1):
    print "x",
for k in range (1,13):
    print k,
for l in range (1,13):
    print ""
    print l,




    # for y in range(1, 13):
    #     z = x * y
    #     print z,
    # print
