Update problem23.py