Find the sum (#78) - Azerbaijan Computing Olympiad