Problem 9 [CoffeeScript]