numfmt 0 3
for pol = 2 step 2 to 6
   for san = 1 to 7
      for fire = 1 to 7
         if pol <> san and san <> fire and fire <> pol
            if pol + fire + san = 12
               print pol & san & fire
            .
         .
      .
   .
.
