On the Team Selection Problem