An entertainment agency has seven trainees. Each of the trainees does at least one of dancing, singing, and rapping, and no two trainees have the same skill set.
How many ways can the agency choose three trainees to form a group, provided that the group must have at least one dancer, one singer, and one rapper (who are not necessarily distinct)?