You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule N-methyl-2-[[4-(2-methylpiperidin-1-yl)sulfonylbenzoyl]amino]-5,6,7,8-tetrahydro-4H-cyclohepta[b]thiophene-3-carboxamide into molecular formula.
user
C24H31N3O4S2
assistant