You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
[4-(aminomethyl)-2-methylpyrrolidin-1-yl]-(2,6-dimethylquinolin-3-yl)methanone is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H23N3O
assistant