Unit Selection with Nonbinary Treatment and Effect