Create problem24.py