# How many ways are there to place these books on the shelves?

You are given 5 books and 7 bookshelves. How many ways are there to place these books on the shelves? (The order on the shelves matters.)

I want to say $7^5$ since there are 7 possible shelves and five different options to select from books that will be placed.

Could some one explain why my answer is wrong, and what the right answer is?

One way to do it: Consider the different shelves as 6 "boundaries" to insert between your books. Thus there are 11 things to order, but 6 of them are equivalent. So there are $\frac{11!}{6!}$ ways.