You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named 4-methyl-5-(1-methyl-3,4-dihydro-2H-pyridin-5-yl)-3-pyridin-3-ylcyclohexa-1,5-dien-1-amine is given. What is its corresponding molecular formula?
user
C18H23N3
assistant