HenHanna <HenHanna@gmail.com> writes:
> Could you share a short, VERY Readable Pythonic (or Common Lisp,
> Scheme) code that solves this?

This is getting spammy.  It would have been preferable to cross post if
you were going to ask for different languages.  (I posted a solution in
comp.lang.python).  It's a cute puzzle but the basic approach is the
same in any traditional language, more or less.  It would be more
interesting to try something like Prolog where you'd use a built in
constraint solver.