You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as 3-bromo-4-chloro-N-(1-methyl-2,5-dioxopyrrolidin-3-yl)benzamide using the IUPAC nomenclature.
user
C12H10BrClN2O3
assistant