#!/root/clam/clam
#include "stdlib.h"
#include "stat.h"

main(list argv)
{
  int bot, cols = 4, f, l;

  random(time(0));
  print("\n");
  for (r=0;r<9;r++) {
    for (c=0;c<cols;c++) {
      if ((random()%100) > 90) mod=20;
      else mod=10;
      do {
        f=random()%10;
        l=random()%10;
      } while (f == 0 && l == 0);
      print(' %{f}     %{l}          ');
    }
    print("\n");
    for (c=0;c<cols;c++) {
      print('--- + --- =       ');
    }
    print("\n");
    for (c=0;c<cols;c++) {
      do {
        bot=random()%10;
      } while (bot == 0 || bot == 1);
      print(' %{bot}     %{bot}          ');
    }
    print("\n\n\n\n");
  }
}
