You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as methyl 3-[(2-pyrrol-1-yl-4,5,6,7-tetrahydro-1-benzothiophene-3-carbonyl)amino]butanoate using the IUPAC nomenclature.
user
C18H22N2O3S
assistant