Create problem47.py