Problem 12 [CoffeeScript]