Add #22 Python solution