Create problem18.py