You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 1-[4,6-dimethyl-2-(2-methyl-2,3-dihydroindol-1-yl)pyridin-3-yl]-N-methylmethanamine into molecular formula.
user
C18H23N3
assistant