arr = [1.6,2.3,3.9,4.1,5.5]
arr1 = arr.select{|i| i > 7.0}
p arr1[0].round if !arr1.empty? #加一个检测防止出事