A rich man gave each of his 3 sons 3 books, each of his 4 daughters 4 books, each of his 5 grandsons 5 books, and each of his 6 granddaughters 6 books. How many books did the man give his children / grandchildren?