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 N,N-dimethyl-2-[6-(pyrrolidin-1-ylsulfonylmethyl)-3H-inden-1-yl]ethanamine using the IUPAC nomenclature.
user
C18H26N2O2S
assistant