greedy selection