Problem 45 in Lisp.
e44 WIP.

I can't figure out the trick to this one, and the naive solution takes
so long I don't think there's hope of cutting it down to run in 1
minute.