You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 10-[4-methyl-3-[(3E,5Z)-4-methylhepta-1,3,5-trien-3-yl]-5-(2-methylphenyl)phenyl]-1-azapentacyclo[10.6.1.02,7.08,19.013,18]nonadeca-2,4,6,8,10,12(19),13,15,17-nonaene by IUPAC nomenclature, provide its molecular formula.
user
C40H33N
assistant