You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
N-[2-[3-[(4-bromophenyl)methylsulfanyl]indol-1-yl]ethyl]-4-methoxybenzamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C25H23BrN2O2S
assistant