You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
[(3R)-3-[benzyl(methyl)amino]piperidin-1-yl]-(1-methyl-3,4-dihydro-2H-quinolin-6-yl)methanone The above is the IUPAC name of a molecule. Write its molecular formula.
user
C24H31N3O
assistant