There are 5 novels and 4 biographies. In how many ways can 4 novels and 2 biographies be arranged on a shelf?