https://geekdad.com/2009/02/geekdad-puzzl-4-3/
GeekDad Puzzle of the Week: Locked-Out – Solution