Pardon me, I misread your second solution. Assuming the correct rational, you have solved both of the two puzzles.
-Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
