You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named 5-bromo-1-methyl-N-(8-methyl-8-azabicyclo[3.2.1]octan-3-yl)-2-phenylindole-3-carboxamide is given. What is its corresponding molecular formula?
user
C24H26BrN3O
assistant