Lucas is organizing his books on a shelf. He has 15 books on fiction, 12 on science, and 8 on history. How many books does Lucas have in total?