You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule N-(2-bromophenyl)-3-[[4-chloro-1-(2-methoxyphenyl)-2,5-dioxopyrrol-3-yl]amino]benzamide into molecular formula.
user
C24H17BrClN3O4
assistant