Problem 5 [CoffeeScript]