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 6-(3-bromo-2-methylindol-1-yl)hexanehydrazide using the IUPAC nomenclature.
user
C15H20BrN3O
assistant