Clean up.
Simple Python solution.