Sum of rows (#722) - Azerbaijan Computing Olympiad