You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 1-[(1-acetyl-5-bromo-2,3-dihydroindol-7-yl)sulfonyl]-N-(2-ethoxyphenyl)piperidine-4-carboxamide by IUPAC nomenclature, provide its molecular formula.
user
C24H28BrN3O5S
assistant