There are five identical blue books, two identical green books, and three identical black books. How many different patterns can the books be arranged on a shelf?