You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
2-bromo-N-[1-(cyclopentanecarbonyl)-2,3-dihydroindol-6-yl]benzamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C21H21BrN2O2
assistant