You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
What is the molecular formula of the compound with this IUPAC name 6-bromo-N-[3-(dimethylamino)propyl]-2-(3-methylphenyl)quinoline-4-carboxamide ?
user
C22H24BrN3O
assistant