Cannon Safe Opening Problem