find k th smallest, AC