Add #32 Python solution