A possible greedy approach