The Activity Selection Problem