The dormitory has 40 students---12 sophomores, eight juniors, and twenty seniors. Which of the given is equal to number of ways to put all forty in a row for the picture, with all 12 sophomores on left, all eight juniors in middle, and all twenty seniors on the right?