You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named [6-(2,3-dihydroindole-1-carbonyl)pyridin-2-yl]-(3,4-dihydro-1H-isoquinolin-2-yl)methanone by IUPAC nomenclature, provide its molecular formula.
user
C24H21N3O2
assistant