結果 : second smallest and second largest element in an array python