Stylistic.
Problem 3 in Python.