Update problem50.py