A college bookstore has two identical mathematics texts, three identical physics texts, four identical computer science texts, and two identical psychology texts in a row on a shelf. If a student knocks them all on the ground and then hurriedly places them all back on the shelf with no attention to their original order, in how many ways can he replace the texts on the shelf?

Q&A Education