codeeval 141. fixed 140.