You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-(4-bromophenyl)-2-chloro-5-(3,4-dihydro-2H-quinolin-1-ylsulfonyl)benzamide by IUPAC nomenclature, provide its molecular formula.
user
C22H18BrClN2O3S
assistant