Add #34 Python solution