Four Volumes in a Row
On a shelf in the village library stand four volumes of an encyclopedia, side by side. Each spine carries a positive whole number, and the four numbers are consecutive (for example, 3, 4, 5, 6).
The librarian multiplies the four numbers together and gets exactly 5040.
Which numbers are on the four volumes?