You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 2-(1,2-dihydropyridin-6-yl)-N-[(2E)-1-(6-methylcyclohexa-1,5-dien-1-yl)-3-phenylpenta-2,4-dienyl]aniline by IUPAC nomenclature, provide its molecular formula.
user
C29H30N2
assistant