You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (4E)-N-(4-ethylphenyl)-3-methyl-4-[(4-nitrophenyl)hydrazinylidene]-6,7-dihydro-5H-1-benzofuran-2-carboxamide by IUPAC nomenclature, provide its molecular formula.
user
C24H24N4O4
assistant