exercise54.py