CodeEval challenge number 024