CodeEval challenge number 022