You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 3-bromo-N-[(2R,4S)-2-methyl-1-(4-methylbenzoyl)-3,4-dihydro-2H-quinolin-4-yl]-N-phenylbenzamide by IUPAC nomenclature, provide its molecular formula.
user
C31H27BrN2O2
assistant