You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule (7-aminoindol-1-yl)-(5-bromo-2,3-dihydro-1H-inden-2-yl)methanone into molecular formula.
user
C18H15BrN2O
assistant