You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named (E)-N-methyl-N-[(2-methyl-2,3-dihydro-1H-indol-3-yl)methyl]-3-(7-oxo-6,8-dihydro-5H-1,8-naphthyridin-3-yl)prop-2-enamide is given. What is its corresponding molecular formula?
user
C22H24N4O2
assistant