Complex sentence: Each prisoner may open and look into 50 drawers in any order and the drawers are closed again afterwards.
Split into simpler sentences: Each prisoner may open and look into 50 drawers in any order. The drawers are closed again afterwards.