Sum without maximum (#114) - Azerbaijan Computing Olympiad