You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as 2-(3-bromo-2-methylindol-1-yl)-N-[2-(4-methylpiperazin-1-yl)-1-phenylethyl]acetamide using the IUPAC nomenclature.
user
C24H29BrN4O
assistant