Greedy activity selection