Problem 4 [CoffeeScript]