Uploaded ex18.py