You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
4-[3-(4-aminobutyl)-1H-benzo[g]indol-2-yl]-N,N-dimethylaniline is the IUPAC name of a molecule. Please give its molecular formula.
user
C24H27N3
assistant