結果 : find the longest consecutive sequence in an array python