You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 1-(4-bromophenyl)-N,2,5-trimethyl-N-[[4-(methylcarbamoyl)phenyl]methyl]pyrrole-3-carboxamide by IUPAC nomenclature, provide its molecular formula.
user
C23H24BrN3O2
assistant