Rating: 0

Pure Python solution.