Jail Escape

Find your way out of the jail cell by using logic.