You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 3-indol-1-yl-N-[(6-methylpyridin-3-yl)methyl]propan-1-amine into its molecular formula.
user
C18H21N3
assistant