You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named ethyl 6-[4-[4-(4-methyl-2-oxo-1H-imidazol-3-yl)benzoyl]-1,4-diazepan-1-yl]pyridine-3-carboxylate by IUPAC nomenclature, provide its molecular formula.
user
C24H27N5O4
assistant