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-[4-[(3S,4R)-4-methyl-1-(2-thiophen-2-ylethyl)pyrrolidin-3-yl]-1,4-diazepan-1-yl]ethanone into molecular formula.
user
C18H29N3OS
assistant