Kirk McDonald wrote: > To be fair, I started writing it before bearophile posted his, and > indeed did not see his solution until after I had posted it. :-) I think you forgot to attach the D solution. ;o) Andrei