You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
[2-(2-methyl-1H-indol-3-yl)-2-oxoethyl] (3S)-1-(4-ethylphenyl)-5-oxopyrrolidine-3-carboxylate is the IUPAC name of a molecule. Please give its molecular formula.
user
C24H24N2O4
assistant