n = 12
numfmt 0 4
write "     "
for i = 1 to n
   write i
.
print ""
write "     "
for i = 1 to n
   write "----"
.
print ""
for i = 1 to n
   write i
   write "|"
   for j = 1 to n
      if j < i
         write "    "
      else
         write i * j
      .
   .
   print ""
.
