A library has 30 different books. Mr. Thompson is going to give one book to Alice, one book to Bob, and one book to Charlie.
How many different ways are there of doing this?