Except for the smallest and the largest (#121) - Azerbaijan Computing Olympiad