CodeEval challenge number 140