結果 : length of longest increasing subsequence in python