Update problem12.py