You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
4-bromo-3-methoxy-N-[2-(4-methylsulfonylpiperazin-1-yl)phenyl]naphthalene-2-carboxamide The above is the IUPAC name of a molecule. Write its molecular formula.
user
C23H24BrN3O4S
assistant