You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (6aS)-2-methyl-7-(4-pyridin-3-ylphenyl)-3a,4,5,6,6a,9b-hexahydrobenzo[de]isoquinoline-1,3-dione by IUPAC nomenclature, provide its molecular formula.
user
C24H22N2O2
assistant