You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 4-bromo-N-[3-(2,3-dihydroindol-1-yl)propyl]benzamide into molecular formula.
user
C18H19BrN2O
assistant