Thank you guys. With your help the thing is nice and short. It is now only one character longer than Raul Miler's beautiful line.
|:1j1#((>:@i.~|.e.#])26{.a.}.~98-33^96>3&u:)"0 'L' I usually avoid tacit programming(too lazy i guess) but I find this type of game a fun way of getting a bit of much needed practice in this nice and useful sport. Cheers Robert Cyr ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm