`(apply max (filter (fn [value] (hand-has-value? hand value)) (range 9)))` does the same