problem034.py : Completed