You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Please write the molecular formula of the molecule N-methyl-2-[1-[(1-methyl-2,3-dihydroindol-5-yl)methyl]piperidin-2-yl]ethanamine .
user
C18H29N3
assistant