problem36.py