Problem 10 [CoffeeScript]