You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
1-(4-bromophenyl)-N-[3-(3,5-dimethylpiperidin-1-yl)propyl]methanesulfonamide The above is the IUPAC name of a molecule. Write its molecular formula.
user
C17H27BrN2O2S
assistant