You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
4-bromo-N-(8-methylquinolin-5-yl)-1-propan-2-ylpyrrole-2-carboxamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H18BrN3O
assistant