Solve the problem.
Four accounting majors, two economics majors, and three marketing majors have interviewed for five different managerial positions with a large company. Find the number of different ways that five of these people could be hired if the first two positions are to be filled by an accounting manager and an assistant accounting manager, the third position is to be filled by an economics manager, and the last two positions are to be filled by a marketing manager and an assistant marketing manager.