R=range(1,13) for x in R:print" ".join("%3i"%(x*y)for y in R)