solve the problem of selecting people