输入:nums = [4,1,4,6] 输出:[1,6] 或 [6,1]
输入:nums = [1,2,10,4,1,4,3,3] 输出:[2,10] 或 [10,2]
2 <= nums <= 10000