#include <stdio.h>     

int main(int argc, char **argv) {
  int x,y;
  
  puts("Content-type: text/html\n\n");
  puts("<html>");
  puts("<head>");
  puts("<title>Pitagoric table</title>");
  puts("</head>");

  puts("<body>");
  puts("<table border='1'>");
  
  y=1;
  while (y<11) {
   puts("<tr>");
    x=1;
    while (x<11) {
      puts("<td align='right'>");
      printf("%d",x*y);
      x++;
      puts("</td>");
    }
    y++;
    puts("</tr>");
  }

  puts("</table>");
  puts("</body>");
  puts("</html>");
} 
