Update problem46.py