Problem 2

Python 2.7