Sum without maximum (#646) - Azerbaijan Computing Olympiad