5 freshmen, 7 sophomores, 7 juniors, and 5 seniors are eligible to be on a committee.
In how many ways can a dance committee of 14 students be chosen if it is to consist of exactly 3 juniors and exactly 4 seniors, and the rest must be freshman or sophomores?