You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 1-(benzenesulfonyl)-N-[1-(4-methoxyphenyl)ethyl]-2,3-dihydroindole-5-carboxamide into molecular formula.
user
C24H24N2O4S
assistant