A prison has $n$ cells with all cell doors shut initially.

Your browser can't display this PDF inline. Open it directly.